summaryrefslogtreecommitdiffstats
path: root/dpd/src/Model_AM.py
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-09-13 18:34:05 +0200
committerandreas128 <Andreas>2017-09-13 18:34:05 +0200
commit426671f4af2a5d1d5d01225194eb66b2edb8c059 (patch)
tree994a98618521afcec5e6d19c443ba85eaa8af51e /dpd/src/Model_AM.py
parenta6ab5661fabc51aa1bdfc48c44bdef4b1f30e095 (diff)
downloaddabmod-426671f4af2a5d1d5d01225194eb66b2edb8c059.tar.gz
dabmod-426671f4af2a5d1d5d01225194eb66b2edb8c059.tar.bz2
dabmod-426671f4af2a5d1d5d01225194eb66b2edb8c059.zip
Fix non closed figures
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