mne.viz.plot_drop_log#
- mne.viz.plot_drop_log(drop_log, threshold=0, n_max_plot=20, subject=None, color='lightgray', width=0.8, ignore=('IGNORED',), show=True)[source]#
Show the channel stats based on a drop_log from Epochs.
- Parameters
- drop_log
list
oflist
Epoch drop log from Epochs.drop_log.
- threshold
float
The percentage threshold to use to decide whether or not to plot. Default is zero (always plot).
- n_max_plot
int
Maximum number of channels to show stats for.
- subject
str
|None
The subject name to use in the title of the plot. If
None
, do not display a subject name.Changed in version 0.23: Added support for
None
.Changed in version 1.0: Defaults to
None
.- color
tuple
|str
Color to use for the bars.
- width
float
Width of the bars.
- ignore
list
The drop reasons to ignore.
- showbool
Show figure if True.
- drop_log
- Returns
- figinstance of
matplotlib.figure.Figure
The figure.
- figinstance of