aider: Increase white space at the bottom of the plot to make room for the note by adjusting the plt.tight_layout call to include more padding.

# Aider chat conversation:

USER: add some white space at the bottom to make more room for the note

ASSISTANT: To add more white space at the bottom of the plot to make room for the note, we can adjust the `plt.tight_layout` call to include more padding.

Here is the *SEARCH/REPLACE* block:

benchmark/swe_bench_lite.py
```python
<<<<<<< SEARCH
    plt.tight_layout(pad=3.0)
=======
    plt.tight_layout(pad=5.0)
>>>>>>> REPLACE
```
This commit is contained in:
Paul Gauthier 2024-05-31 07:44:28 -07:00
parent 8bcebfa475
commit 20ee2bbf36

View file

@ -90,7 +90,7 @@ def plot_swe_bench_lite(data_file):
color=font_color,
)
plt.tight_layout(pad=3.0)
plt.tight_layout(pad=5.0)
out_fname = Path(data_file)
plt.savefig(out_fname.with_suffix(".jpg").name)