From 426671f4af2a5d1d5d01225194eb66b2edb8c059 Mon Sep 17 00:00:00 2001 From: andreas128 Date: Wed, 13 Sep 2017 18:34:05 +0200 Subject: Fix non closed figures --- dpd/src/Agc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dpd/src/Agc.py') diff --git a/dpd/src/Agc.py b/dpd/src/Agc.py index 978b607..b83c91e 100644 --- a/dpd/src/Agc.py +++ b/dpd/src/Agc.py @@ -139,7 +139,7 @@ class Agc: fig.tight_layout() fig.savefig(fig_path) - fig.clf() + plt.close(fig) # The MIT License (MIT) -- cgit v1.2.3