From 19e7823859918a63803b25601bbcb87e0c1f7f90 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 22 May 2024 15:18:45 -0700 Subject: [PATCH] aider: Add more whitespace around the perimeter. # Aider chat conversation: USER: add more whitespace around the perimeter ASSISTANT: Here are the changes to add more whitespace around the perimeter in `benchmark/swe_bench_lite.py` and `benchmark/over_time.py`: benchmark/swe_bench_lite.py ```python <<<<<<< SEARCH plt.tight_layout() ======= plt.tight_layout(pad=3.0) >>>>>>> REPLACE ``` benchmark/over_time.py ```python <<<<<<< SEARCH plt.tight_layout() ======= plt.tight_layout(pad=3.0) >>>>>>> REPLACE ``` --- benchmark/over_time.py | 2 +- benchmark/swe_bench_lite.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmark/over_time.py b/benchmark/over_time.py index ee0cd61df..633584764 100644 --- a/benchmark/over_time.py +++ b/benchmark/over_time.py @@ -49,7 +49,7 @@ def plot_over_time(yaml_file): 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.tight_layout(pad=3.0) plt.savefig("tmp_over_time.png") plt.savefig("tmp_over_time.svg") imgcat(fig) diff --git a/benchmark/swe_bench_lite.py b/benchmark/swe_bench_lite.py index 0b854ff86..3a99428ae 100644 --- a/benchmark/swe_bench_lite.py +++ b/benchmark/swe_bench_lite.py @@ -42,7 +42,7 @@ def plot_swe_bench_lite(data_file): ax.set_title("SWE Bench Lite pass rates", fontsize=20) ax.set_ylim(0, 30) plt.xticks(rotation=45, ha='right', fontsize=16) - plt.tight_layout() + plt.tight_layout(pad=3.0) plt.savefig("swe_bench_lite.png") plt.savefig("swe_bench_lite.svg") imgcat(fig)