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/ExtractStatistic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dpd/src/ExtractStatistic.py') diff --git a/dpd/src/ExtractStatistic.py b/dpd/src/ExtractStatistic.py index d2aeee4..6139e1d 100644 --- a/dpd/src/ExtractStatistic.py +++ b/dpd/src/ExtractStatistic.py @@ -118,7 +118,7 @@ class ExtractStatistic: fig.tight_layout() fig.savefig(fig_path) - fig.clf() + plt.close(fig) pickle.dump(self.rx_values_lists, open("/tmp/rx_values", "wb")) pickle.dump(self.tx_values, open("/tmp/tx_values", "wb")) -- cgit v1.2.3