From c2e1315def4b5f7387d629fb3861f5e89d1f4ed3 Mon Sep 17 00:00:00 2001 From: Saveliy Yusufov Date: Sun, 11 Feb 2024 13:10:11 -0500 Subject: [PATCH] Update saved figure names in benches --- benches/py_benchmarks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benches/py_benchmarks.py b/benches/py_benchmarks.py index ce42eae..5e4604d 100644 --- a/benches/py_benchmarks.py +++ b/benches/py_benchmarks.py @@ -155,7 +155,7 @@ def grouped_bar_plot(data: dict, start=0, end=1): plt.ylabel("Execution Time Ratio\n(relative to NumPy FFT)") plt.legend(loc="best") plt.tight_layout() - plt.savefig("py_benchmarks_bar_plot.png", dpi=600) + plt.savefig(f"py_benchmarks_bar_plot_{start}_{end-1}.png", dpi=600) if __name__ == "__main__":