mne.viz.set_browser_backend#

mne.viz.set_browser_backend(backend_name, verbose=None)[source]#

Set the 2D browser backend for MNE.

The backend will be set as specified and operations will use that backend.

Parameters:
backend_namestr

The 2D browser backend to select. See Notes for the capabilities of each backend ('qt', 'matplotlib'). The 'qt' browser requires mne-qt-browser.

verbosebool | str | int | None

Control verbosity of the logging output. If None, use the default verbosity level. See the logging documentation and mne.verbose() for details. Should only be passed as a keyword argument.

Returns:
old_backend_namestr | None

The old backend that was in use.

Notes

This table shows the capabilities of each backend (”✓” for full support, and “-” for partial support):

2D browser function:

matplotlib

qt

plot_raw()

plot_epochs()

plot_ica_sources()

Feature:

Show Events

Add/Edit/Remove Annotations

Toggle Projections

Butterfly Mode

Selection Mode

Smooth Scrolling

Overview-Bar (with Z-Score-Mode)

New in v0.24.