mne.viz.set_3d_backend

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

Set the backend for MNE.

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

Parameters
backend_namestr

The 3d backend to select. See Notes for the capabilities of each backend.

verbosebool, str, int, or None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more). If used, it should be passed as a keyword-argument only.

Notes

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

3D function:

mayavi

pyvista

notebook

plot_vector_source_estimates()

plot_source_estimates()

plot_alignment()

plot_sparse_source_estimates()

plot_evoked_field()

plot_sensors_connectivity()

snapshot_brain_montage()

link_brains()

Feature:

Large data

Opacity/transparency

Support geometric glyph

Smooth shading

Subplotting

Inline plot in Jupyter Notebook

Inline plot in JupyterLab

Inline plot in Google Colab

Toolbar