From 426671f4af2a5d1d5d01225194eb66b2edb8c059 Mon Sep 17 00:00:00 2001 From: andreas128 Date: Wed, 13 Sep 2017 18:34:05 +0200 Subject: Fix non closed figures --- dpd/src/MER.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dpd/src/MER.py') 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 -- cgit v1.2.3