diff options
author | andreas128 <Andreas> | 2017-09-13 18:34:05 +0200 |
---|---|---|
committer | andreas128 <Andreas> | 2017-09-13 18:34:05 +0200 |
commit | 426671f4af2a5d1d5d01225194eb66b2edb8c059 (patch) | |
tree | 994a98618521afcec5e6d19c443ba85eaa8af51e /dpd/src/subsample_align.py | |
parent | a6ab5661fabc51aa1bdfc48c44bdef4b1f30e095 (diff) | |
download | dabmod-426671f4af2a5d1d5d01225194eb66b2edb8c059.tar.gz dabmod-426671f4af2a5d1d5d01225194eb66b2edb8c059.tar.bz2 dabmod-426671f4af2a5d1d5d01225194eb66b2edb8c059.zip |
Fix non closed figures
Diffstat (limited to 'dpd/src/subsample_align.py')
-rwxr-xr-x | dpd/src/subsample_align.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dpd/src/subsample_align.py b/dpd/src/subsample_align.py index 6d1cd2a..b0cbe88 100755 --- a/dpd/src/subsample_align.py +++ b/dpd/src/subsample_align.py @@ -78,7 +78,7 @@ def subsample_align(sig, ref_sig, plot=False): plt.plot(ixs, taus) plt.title("Subsample correlation, minimum is best: {}".format(best_tau)) plt.savefig(tau_path) - plt.clf() + plt.close() # Prepare rotate_vec = fft_sig with rotated phase rotate_vec = np.exp(1j * best_tau * omega) |