Skip to content
Snippets Groups Projects
Commit b237c32e authored by Moritz Huebner's avatar Moritz Huebner
Browse files

Merge branch 'close_figure_after_ifo_plotting' into 'master'

Close figure after ifo plotting

See merge request !411
parents aa73f034 a48bebe1
No related branches found
No related tags found
1 merge request!411Close figure after ifo plotting
Pipeline #54976 passed
......@@ -1642,6 +1642,7 @@ class Interferometer(object):
fig.savefig(
'{}/{}_{}_frequency_domain_data.png'.format(
outdir, self.name, label))
plt.close(fig)
def plot_time_domain_data(
self, outdir='.', label=None, bandpass_frequencies=(50, 250),
......@@ -1709,6 +1710,7 @@ class Interferometer(object):
else:
fig.savefig(
'{}/{}_{}_time_domain_data.png'.format(outdir, self.name, label))
plt.close(fig)
@staticmethod
def _hdf5_filename_from_outdir_label(outdir, label):
......
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