aboutsummaryrefslogtreecommitdiffstats
path: root/dpd/src/Model_AM.py
diff options
context:
space:
mode:
Diffstat (limited to 'dpd/src/Model_AM.py')
-rw-r--r--dpd/src/Model_AM.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpd/src/Model_AM.py b/dpd/src/Model_AM.py
index 5281dde..bdf55c6 100644
--- a/dpd/src/Model_AM.py
+++ b/dpd/src/Model_AM.py
@@ -71,7 +71,7 @@ class Model_AM:
fig.tight_layout()
fig.savefig(fig_path)
- fig.clf()
+ plt.close(fig)
def poly(self, sig):
return np.array([sig ** i for i in range(1, 6)]).T