diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-03-10 02:23:56 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-03-10 02:23:56 +0100 |
| commit | 9509e5ff312f14ee1bc1c6b9432cbf87acd6437c (patch) | |
| tree | 57521adbfbf9c376a93715356a32a124814a8299 /src/plots.py | |
| parent | 37e35a0ef7731a98bb9350accc92ba779ede234a (diff) | |
| download | allocbench-9509e5ff312f14ee1bc1c6b9432cbf87acd6437c.tar.gz allocbench-9509e5ff312f14ee1bc1c6b9432cbf87acd6437c.zip | |
fix _save_figure calls
Diffstat (limited to 'src/plots.py')
| -rw-r--r-- | src/plots.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plots.py b/src/plots.py index 4e7887b..bf52a74 100644 --- a/src/plots.py +++ b/src/plots.py @@ -143,7 +143,7 @@ def plot_single_arg(bench, plt.ylabel(ylabel.format(**label_substitutions)) plt.title(title.format(**label_substitutions)) - _save_figure(fig, sumdir, fig_name, file_ext) + _save_figure(fig, fig_name, sumdir, file_ext) plt.close(fig) return fig @@ -213,7 +213,7 @@ def barplot_single_arg(bench, plt.ylabel(ylabel.format(**label_substitutions)) plt.title(title.format(**label_substitutions)) - _save_figure(fig, sumdir, fig_name, file_ext) + _save_figure(fig, fig_name, sumdir, file_ext) plt.close(fig) @@ -270,7 +270,7 @@ def plot_fixed_arg(bench, plt.ylabel(ylabel.format(**label_substitutions)) plt.title(title.format(**label_substitutions)) - _save_figure(fig, sumdir, fig_name, file_ext) + _save_figure(fig, fig_name, sumdir, file_ext) plt.close(fig) |
