use underscores in graph fnames

This commit is contained in:
Paul Gauthier 2024-05-31 09:44:33 -07:00
parent 0120d434ff
commit 38ac9de678
3 changed files with 1 additions and 1 deletions

View file

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Before After
Before After

View file

@ -96,7 +96,7 @@ def plot_swe_bench_lite(data_file):
plt.tight_layout(pad=3.0)
out_fname = Path(data_file)
out_fname = Path(data_file.replace("-", "_"))
plt.savefig(out_fname.with_suffix(".jpg").name)
plt.savefig(out_fname.with_suffix(".svg").name)
imgcat(fig)