aider: Make the model labels on the x axis larger.

# Aider chat conversation:

USER: make the model labels on the x axis larger

ASSISTANT: Here are the changes to make the model labels on the x-axis larger in `benchmark/swe_bench_lite.py` and `benchmark/over_time.py`:

benchmark/swe_bench_lite.py
```python
<<<<<<< SEARCH
    plt.xticks(rotation=45, ha='right')
=======
    plt.xticks(rotation=45, ha='right', fontsize=14)
>>>>>>> REPLACE
```

benchmark/over_time.py
```python
<<<<<<< SEARCH
    plt.tight_layout()
=======
    plt.xticks(fontsize=14)
    plt.tight_layout()
>>>>>>> REPLACE
```
This commit is contained in:
Paul Gauthier 2024-05-22 15:18:20 -07:00
parent 6765b12a7d
commit a6ae4cab06
2 changed files with 2 additions and 1 deletions

View file

@ -48,6 +48,7 @@ def plot_over_time(yaml_file):
ax.set_ylabel("Aider code editing benchmark,\npercent completed correctly", fontsize=18)
ax.set_title("LLM code editing skill by model release date", fontsize=20)
ax.set_ylim(0, 30)
plt.xticks(fontsize=14)
plt.tight_layout()
plt.savefig("tmp_over_time.png")
plt.savefig("tmp_over_time.svg")