From 9dd743b474ced8494e070f5193dac7378ddc6449 Mon Sep 17 00:00:00 2001
From: Birte Kristina Friesel <birte.friesel@uos.de>
Date: Thu, 7 Dec 2023 16:00:35 +0100
Subject: plotter#boxplot: close plots after saving/showing them

---
 lib/plotter.py | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'lib')

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()
-- 
cgit v1.2.3