summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2023-12-07 16:00:35 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2023-12-07 16:00:35 +0100
commit9dd743b474ced8494e070f5193dac7378ddc6449 (patch)
treef93a233ffad157424b91bec48d1baf6284f60313 /lib
parent2dfdb0e9839ccbd9b0f93025774480a089100dba (diff)
plotter#boxplot: close plots after saving/showing them
Diffstat (limited to 'lib')
-rwxr-xr-xlib/plotter.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/plotter.py b/lib/plotter.py
index 2508676..f0debee 100755
--- a/lib/plotter.py
+++ b/lib/plotter.py
@@ -420,3 +420,5 @@ def boxplot(ticks, measurements, xlabel="", ylabel="", modeldata=None, output=No
print(f"plot saved to {output}")
else:
plt.show()
+
+ plt.close()