mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
refactor: Adjust plot figure size and y-axis limits for better visualization
This commit is contained in:
parent
062dc43c87
commit
ddc538cdfa
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ def plot_over_time(yaml_file):
|
|||
rc("font", **{"family": "sans-serif", "sans-serif": ["Helvetica"], "size": 10})
|
||||
plt.rcParams["text.color"] = "#444444"
|
||||
|
||||
fig, ax = plt.subplots(figsize=(10, 10)) # Make figure square
|
||||
fig, ax = plt.subplots(figsize=(12, 8)) # Make figure square
|
||||
|
||||
print("Debug: Figure created. Plotting data...")
|
||||
ax.grid(axis="y", zorder=0, lw=0.2)
|
||||
|
@ -138,7 +138,7 @@ def plot_over_time(yaml_file):
|
|||
"Aider code editing benchmark,\npercent completed correctly", fontsize=18, color="#555"
|
||||
)
|
||||
ax.set_title("LLM code editing skill by model release date", fontsize=20)
|
||||
ax.set_ylim(0, 100) # Adjust y-axis limit to accommodate higher values
|
||||
ax.set_ylim(30, 90) # Adjust y-axis limit to accommodate higher values
|
||||
plt.xticks(fontsize=14, rotation=45, ha="right") # Rotate x-axis labels for better readability
|
||||
plt.tight_layout(pad=3.0)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue