Skip to content
Snippets Groups Projects
Commit 4661e042 authored by Unknown's avatar Unknown
Browse files

Remove holds from window_size_extract

parent 7dfe490c
No related branches found
No related tags found
1 merge request!110Cades dev
...@@ -1404,7 +1404,6 @@ class ImageWindow(object): ...@@ -1404,7 +1404,6 @@ class ImageWindow(object):
fig = plt.figure(figsize=[8, 8], tight_layout=True) fig = plt.figure(figsize=[8, 8], tight_layout=True)
plt1, = plt.semilogy(r_vec, fft_absimage, label='magnitude') plt1, = plt.semilogy(r_vec, fft_absimage, label='magnitude')
plt.hold(True)
plt2, = plt.semilogy(r_sort, fft_abssort, 'ro', label='chosen peaks') plt2, = plt.semilogy(r_sort, fft_abssort, 'ro', label='chosen peaks')
plt3, = plt.semilogy(r_vec, guess, 'g', label='guess') plt3, = plt.semilogy(r_vec, guess, 'g', label='guess')
plt4, = plt.semilogy(r_vec, fit, 'r', label='fit') plt4, = plt.semilogy(r_vec, fit, 'r', label='fit')
...@@ -1415,7 +1414,6 @@ class ImageWindow(object): ...@@ -1415,7 +1414,6 @@ class ImageWindow(object):
ax.set_xlabel('radius [pixels]') ax.set_xlabel('radius [pixels]')
ax.set_ylabel('max magnitude') ax.set_ylabel('max magnitude')
plt.legend(handles=[plt1, plt2, plt3, plt4]) plt.legend(handles=[plt1, plt2, plt3, plt4])
plt.hold(False)
if save_plots: if save_plots:
folder,filename = os.path.split(self.hdf.path) folder,filename = os.path.split(self.hdf.path)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment