mne_denoise.viz.themed_figure#
- mne_denoise.viz.themed_figure(nrows=1, ncols=1, figsize=None, dpi=None, gridspec_kw=None, rc=None, **kwargs)[source]#
Create a figure + axes with the package plotting defaults.
- Parameters:
- nrowsint, default=1
Number of subplot rows.
- ncolsint, default=1
Number of subplot columns.
- figsizetuple | None
(width, height) in inches. Defaults to
DEFAULT_FIGSIZE.- dpiint | None
Resolution. Defaults to
DEFAULT_DPI.- gridspec_kwdict | None
Forwarded to
plt.subplots.- rcdict | None
Optional matplotlib rcParams overrides merged into the shared theme defaults for this figure only.
- **kwargs
Additional keyword arguments forwarded to
plt.subplots.
- Returns:
- figFigure
Matplotlib figure created by
plt.subplots.- axesAxes or ndarray of Axes
Axes object returned by
plt.subplots.