aboutsummaryrefslogtreecommitdiffstats
path: root/dpd/src/ExtractStatistic.py
diff options
context:
space:
mode:
Diffstat (limited to 'dpd/src/ExtractStatistic.py')
-rw-r--r--dpd/src/ExtractStatistic.py2
1 files changed, 1 insertions, 1 deletions
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"))