mne_denoise.viz.plot_window_count_series#

mne_denoise.viz.plot_window_count_series(counts, ax=None, show=True, fname=None)[source]#

Plot a per-window count or metric series.

Parameters:
countsarray-like of shape (n_windows,)

One scalar count or metric for each window.

axmatplotlib.axes.Axes | None, default=None

Existing axes. If None, create a themed figure.

showbool, default=True

Whether to display the figure.

fnamepath-like | None, default=None

Optional output path.

Returns:
figmatplotlib.figure.Figure

Figure containing the bar series.

Raises:
ValueError

If counts is not a non-empty one-dimensional array.