mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
fix: Update color logic and font size in over_time.py
This commit is contained in:
parent
1f6cadcc66
commit
714fd45f4d
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ def plot_over_time(yaml_file):
|
||||||
colors = [
|
colors = [
|
||||||
(
|
(
|
||||||
"orange"
|
"orange"
|
||||||
if "-4o-" in model and "gpt-4o-mini" not in model
|
if "-4o" in model and "gpt-4o-mini" not in model
|
||||||
else "red" if "gpt-4" in model else "green" if "gpt-3.5" in model else "blue"
|
else "red" if "gpt-4" in model else "green" if "gpt-3.5" in model else "blue"
|
||||||
)
|
)
|
||||||
for model in models
|
for model in models
|
||||||
|
@ -63,7 +63,7 @@ def plot_over_time(yaml_file):
|
||||||
ax.annotate(
|
ax.annotate(
|
||||||
model,
|
model,
|
||||||
(dates[i], pass_rates[i]),
|
(dates[i], pass_rates[i]),
|
||||||
fontsize=12,
|
fontsize=8,
|
||||||
alpha=0.75,
|
alpha=0.75,
|
||||||
xytext=(5, 5),
|
xytext=(5, 5),
|
||||||
textcoords="offset points",
|
textcoords="offset points",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue