aboutsummaryrefslogtreecommitdiffstats
path: root/dpd/src/phase_align.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/phase_align.py
parenta6ab5661fabc51aa1bdfc48c44bdef4b1f30e095 (diff)
downloaddabmod-426671f4af2a5d1d5d01225194eb66b2edb8c059.tar.gz
dabmod-426671f4af2a5d1d5d01225194eb66b2edb8c059.tar.bz2
dabmod-426671f4af2a5d1d5d01225194eb66b2edb8c059.zip
Fix non closed figures
Diffstat (limited to 'dpd/src/phase_align.py')
-rw-r--r--dpd/src/phase_align.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpd/src/phase_align.py b/dpd/src/phase_align.py
index 7f82392..7317d70 100644
--- a/dpd/src/phase_align.py
+++ b/dpd/src/phase_align.py
@@ -75,7 +75,7 @@ def phase_align(sig, ref_sig, plot=False):
plt.legend(loc=4)
plt.tight_layout()
plt.savefig(fig_path)
- plt.clf()
+ plt.close()
return sig