From 20ee2bbf3681f0c262042c4bd3e4ab89821aa83d Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 31 May 2024 07:44:28 -0700 Subject: [PATCH] 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 ``` --- benchmark/swe_bench_lite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/swe_bench_lite.py b/benchmark/swe_bench_lite.py index e0546a531..b719a6ab8 100644 --- a/benchmark/swe_bench_lite.py +++ b/benchmark/swe_bench_lite.py @@ -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)