aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plots.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plots.py b/src/plots.py
index 549179c..c92dd2f 100644
--- a/src/plots.py
+++ b/src/plots.py
@@ -144,7 +144,7 @@ def plot_single_arg(bench,
plt.title(title.format(**label_substitutions))
_save_figure(bench, fig, sumdir, file_postfix, file_ext)
- fig.close()
+ plt.close(fig)
return fig
@@ -213,7 +213,7 @@ def barplot_single_arg(bench,
plt.title(title.format(**label_substitutions))
_save_figure(bench, fig, sumdir, file_postfix, file_ext)
- fig.close()
+ plt.close(fig)
def plot_fixed_arg(bench,
@@ -269,7 +269,7 @@ def plot_fixed_arg(bench,
plt.title(title.format(**label_substitutions))
_save_figure(bench, fig, sumdir, file_postfix, file_ext)
- fig.close()
+ plt.close(fig)
def export_facts_to_file(bench, comment_symbol, output_file):