Hi all,
For some reason, if I do something like
evoked.plot_topomap(times, title = evoked.comment)
plt.savefig( subjectDirectory +'/'+ evoked.comment + '_topo.jpg')
… the file will save. But trying plt.savefig with other mne objects (eg mne.vis, evoked.plot(), or epochs.plot() ) doesn’t work.
mne.viz.plot_compare_evokeds(evokeds, picks = 'mag', title =' MEG mags')
evoked.plot(spatial_colors=True)
epochs.plot_projs_topomap()
The plot_compare_evokeds and evoked_plot has a gui option for saving the file, but I don’t see any such for the epochs plot. Either way, is there a way to save these images from python terminal?
Thank you,
Megan