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/phase_align.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dpd/src/phase_align.py') 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 -- cgit v1.2.3