aboutsummaryrefslogtreecommitdiffstats
path: root/dpd/src/subsample_align.py
diff options
context:
space:
mode:
Diffstat (limited to 'dpd/src/subsample_align.py')
-rwxr-xr-xdpd/src/subsample_align.py2
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)