aboutsummaryrefslogtreecommitdiffstats
path: root/dpd/src/MER.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/MER.py
parenta6ab5661fabc51aa1bdfc48c44bdef4b1f30e095 (diff)
downloaddabmod-426671f4af2a5d1d5d01225194eb66b2edb8c059.tar.gz
dabmod-426671f4af2a5d1d5d01225194eb66b2edb8c059.tar.bz2
dabmod-426671f4af2a5d1d5d01225194eb66b2edb8c059.zip
Fix non closed figures
Diffstat (limited to 'dpd/src/MER.py')
-rw-r--r--dpd/src/MER.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpd/src/MER.py b/dpd/src/MER.py
index 00fcc23..4f2918e 100644
--- a/dpd/src/MER.py
+++ b/dpd/src/MER.py
@@ -106,7 +106,7 @@ class MER:
plt.tight_layout()
plt.savefig(fig_path)
plt.show()
- plt.clf()
+ plt.close()
MER_res = 20 * np.log10(np.mean([10 ** (MER / 20) for MER in MERs]))
return MER_res