mne.viz.plot_drop_log

mne.viz.plot_drop_log(drop_log, threshold=0, n_max_plot=20, subject='Unknown subj', color=(0.8, 0.8, 0.8), 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

The subject name to use in the title of the plot.

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.