mne_denoise.viz.plot_asr_calibration_fraction#
- mne_denoise.viz.plot_asr_calibration_fraction(estimators, *, labels=None, title: str | None = None, ax=None, show: bool = True, fname: str | None = None)[source]#
Bar chart of the clean calibration fraction for one or more estimators.
- Parameters:
- estimatorsfitted estimator | list of fitted estimators
One or more fitted ASR-family estimators. Each contributes one bar extracted from its
calibration_info_attribute.- labelslist of str | None, default=None
Bar labels. If None, defaults to the class name of each estimator.
- titlestr | None, default=None
Custom title for the plot. If None, uses a sensible default.
- axmatplotlib.axes.Axes | None, default=None
Axes to plot into. If None, a new themed figure is created.
- showbool, default=True
Whether to call
plt.show()after plotting.- fnamestr | None, default=None
If provided, the figure is saved to this file path.
- Returns:
- figmatplotlib.figure.Figure
The figure containing the plot.
- axmatplotlib.axes.Axes
The axes with the bar chart.