aider: Set the y-axis to go to 30.

# Aider chat conversation:

USER: make the y-axis go to 30

ASSISTANT: Here are the changes to make the y-axis go to 30 in `benchmark/swe_bench_lite.py`:

benchmark/swe_bench_lite.py
```python
<<<<<<< SEARCH
    plt.xticks(rotation=45, ha='right')
=======
    ax.set_ylim(0, 30)
    plt.xticks(rotation=45, ha='right')
>>>>>>> REPLACE
```

Here are the changes to make the y-axis go to 30 in `benchmark/over_time.py`:

benchmark/over_time.py
```python
<<<<<<< SEARCH
    plt.tight_layout()
=======
    ax.set_ylim(0, 30)
    plt.tight_layout()
>>>>>>> REPLACE
```
This commit is contained in:
Paul Gauthier 2024-05-22 15:14:38 -07:00
parent d1bbcb9bf8
commit 5ef96a32e2
2 changed files with 2 additions and 0 deletions

View file

@ -38,6 +38,7 @@ def plot_swe_bench_lite(data_file):
ax.set_xlabel("Models", fontsize=18)
ax.set_ylabel("Pass rate (%)", fontsize=18)
ax.set_title("SWE Bench Lite pass rates", fontsize=20)
ax.set_ylim(0, 30)
plt.xticks(rotation=45, ha='right')
plt.tight_layout()
plt.savefig("swe_bench_lite.png")