diff --git a/benchmark/plot/Cabana_BenchmarkPlotUtils.py b/benchmark/plot/Cabana_BenchmarkPlotUtils.py index 29fe705eb..86478ca0c 100644 --- a/benchmark/plot/Cabana_BenchmarkPlotUtils.py +++ b/benchmark/plot/Cabana_BenchmarkPlotUtils.py @@ -378,7 +378,8 @@ def createPlot(fig, ax, data: AllData, speedup=False, backend_label=True, cpu_na ax.set_yscale('log') fig.tight_layout() - plt.show() if dpi: plt.savefig(filename, dpi=dpi) + else: + plt.show()