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_loglist of list

Epoch drop log from Epochs.drop_log.

thresholdfloat

The percentage threshold to use to decide whether or not to plot. Default is zero (always plot).

n_max_plotint

Maximum number of channels to show stats for.

subjectstr | 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.

colortuple | str

Color to use for the bars.

widthfloat

Width of the bars.

ignorelist

The drop reasons to ignore.

showbool

Show figure if True.

Returns:
figinstance of matplotlib.figure.Figure

The figure.