mne.viz.plot_evoked_joint¶
- 
mne.viz.plot_evoked_joint(evoked, times='peaks', title='', picks=None, exclude=None, show=True, ts_args=None, topomap_args=None)[source]¶
- Plot evoked data as butterfly plot and add topomaps for time points. - Note - Axes to plot in can be passed by the user through - ts_argsor- topomap_args. In that case both- ts_argsand- topomap_argsaxes have to be used. Be aware that when the axes are provided, their position may be slightly modified.- Parameters
- evokedinstance of Evoked
- The evoked instance. 
- timesfloat|arrayoffloat| “auto” | “peaks”
- The time point(s) to plot. If - "auto", 5 evenly spaced topographies between the first and last time instant will be shown. If- "peaks", finds time points automatically by checking for 3 local maxima in Global Field Power. Defaults to- "peaks".
- titlestr|None
- The title. If - None, suppress printing channel type title. If an empty string, a default title is created. Defaults to ‘’. If custom axes are passed make sure to set- title=None, otherwise some of your axes may be removed during placement of the title axis.
- picksstr|list|slice|None
- Channels to include. Slices and lists of integers will be interpreted as channel indices. In lists, channel type strings (e.g., - ['meg', 'eeg']) will pick channels of those types, channel name strings (e.g.,- ['MEG0111', 'MEG2623']will pick the given channels. Can also be the string values “all” to pick all channels, or “data” to pick data channels. None (default) will pick all channels.
- excludeNone|listofstr| ‘bads’
- Channels names to exclude from being shown. If - 'bads', the bad channels are excluded. Defaults to- None.
- showbool
- Show figure if - True. Defaults to- True.
- ts_argsNone|dict
- A dict of - kwargsthat are forwarded to- mne.Evoked.plot()to style the butterfly plot. If they are not in this dict, the following defaults are passed:- spatial_colors=True,- zorder='std'.- showand- excludeare illegal. If- None, no customizable arguments will be passed. Defaults to- None.
- topomap_argsNone|dict
- A dict of - kwargsthat are forwarded to- mne.Evoked.plot_topomap()to style the topomaps. If it is not in this dict,- outlines='skirt'will be passed.- show,- times,- colorbarare illegal. If- None, no customizable arguments will be passed. Defaults to- None.
 
- evokedinstance of 
- Returns
- figinstance of matplotlib.figure.Figure|list
- The figure object containing the plot. If - evokedhas multiple channel types, a list of figures, one for each channel type, is returned.
 
- figinstance of 
 - Notes - New in version 0.12.0.