mne.viz.plot_drop_log

mne.viz.plot_drop_log(drop_log, threshold=0, n_max_plot=20, subject='Unknown', color=(0.9, 0.9, 0.9), width=0.8, ignore=('IGNORED', ), show=True)[source]

Show the channel stats based on a drop_log from Epochs.

Parameters:
drop_log : list of lists

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

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

color : tuple | str

Color to use for the bars.

width : float

Width of the bars.

ignore : list

The drop reasons to ignore.

show : bool

Show figure if True.

Returns:
fig : Instance of matplotlib.figure.Figure

The figure.