mne.viz.
set_3d_options
Set 3D rendering options.
None
If not None, set the default full-screen anti-aliasing setting. False is useful when renderers have problems (such as software MESA renderers). This option can also be controlled using an environment variable, e.g., MNE_3D_OPTION_ANTIALIAS=false.
MNE_3D_OPTION_ANTIALIAS=false
Notes
New in version 0.21.0.
mne.viz.set_3d_options