mne.viz.set_3d_backend

mne.viz.set_3d_backend(backend_name)[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.

Notes

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

3D function:

mayavi

pyvista

plot_source_estimates()

plot_alignment()

plot_sparse_source_estimates()

plot_evoked_field()

plot_sensors_connectivity()

snapshot_brain_montage()

3D feature:

Large data

Opacity/transparency

Support geometric glyph

Jupyter notebook

Interactivity in Jupyter notebook

Smooth shading

Subplotting

Eye-dome lighting

Exports to movie/GIF