epocharray plot

how to hide the 2d topomap of channel location in the figure A? Because i dont have the exact location of channel, i just want to plot lines with different color.

mne.viz.plot_evoked returns a matplotlib Figure object. This contains a list of axes. If you can find the axis containing the topomap, you can hide it with axis.set_visible(False). For example:

fig = mne.viz.plot_evoked(evoked.pick("grad"), spatial_colors=True)
fig.axes[1].set_visible(False)
1 Like