mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00
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:
parent
8bcebfa475
commit
20ee2bbf36
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue