mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
aider: Ensure bold and light fonts are visibly different by using "normal" instead of "light" for the non-Aider bars.
# Aider chat conversation: USER: there's no visible difference bwteen the bold and light fonts? ASSISTANT: To ensure that the bold and light fonts are visibly different, we can use "normal" instead of "light" for the non-Aider bars. This should provide a more noticeable contrast. Here are the *SEARCH/REPLACE* blocks: benchmark/swe_bench_lite.py ```python <<<<<<< SEARCH fontweight = "bold" if "Aider" in model else "light" ======= fontweight = "bold" if "Aider" in model else "normal" >>>>>>> REPLACE ``` Let's make this change and see if it improves the visibility of the font differences.
This commit is contained in:
parent
6d75a10c8b
commit
ed43cd278a
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ def plot_swe_bench_lite(data_file):
|
|||
yval = bar.get_height()
|
||||
y = yval + 0.75 if "Aider" in model else yval - 1.25
|
||||
va = "bottom" if "Aider" in model else "top"
|
||||
fontweight = "bold" if "Aider" in model else "light"
|
||||
fontweight = "bold" if "Aider" in model else "normal"
|
||||
|
||||
ax.text(
|
||||
bar.get_x() + bar.get_width() / 2,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue