diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2023-12-07 16:00:35 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2023-12-07 16:00:35 +0100 |
commit | 9dd743b474ced8494e070f5193dac7378ddc6449 (patch) | |
tree | f93a233ffad157424b91bec48d1baf6284f60313 | |
parent | 2dfdb0e9839ccbd9b0f93025774480a089100dba (diff) |
plotter#boxplot: close plots after saving/showing them
-rwxr-xr-x | lib/plotter.py | 2 |
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() |