From f8fe2e864f3b5d4a702bfd4442693114eb816ad8 Mon Sep 17 00:00:00 2001 From: Guillaume Favelier Date: Fri, 30 Apr 2021 10:34:07 +0200 Subject: [PATCH 1/3] Update doc --- doc/install/advanced.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/install/advanced.rst b/doc/install/advanced.rst index 42dff355aa1..6e254af3f6c 100644 --- a/doc/install/advanced.rst +++ b/doc/install/advanced.rst @@ -259,6 +259,7 @@ beginning of your script, session, or notebook:: >>> import os >>> os.environ['ETS_TOOLKIT'] = 'qt4' >>> os.environ['QT_API'] = 'pyqt5' + >>> os.environ['MNE_3D_OPTION_ANTIALIAS'] = false This will tell mayavi to use Qt backend with PyQt bindings, instead of the default PySide. For more information, see From c33c11d8056e6ceca6a8274f4a951033bba9f619 Mon Sep 17 00:00:00 2001 From: Guillaume Favelier Date: Fri, 30 Apr 2021 10:40:24 +0200 Subject: [PATCH 2/3] Mention macOS --- doc/install/advanced.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/install/advanced.rst b/doc/install/advanced.rst index 6e254af3f6c..1336df0ab53 100644 --- a/doc/install/advanced.rst +++ b/doc/install/advanced.rst @@ -259,6 +259,9 @@ beginning of your script, session, or notebook:: >>> import os >>> os.environ['ETS_TOOLKIT'] = 'qt4' >>> os.environ['QT_API'] = 'pyqt5' + +And for macOS users, it might be helpful to also add the following:: + >>> os.environ['MNE_3D_OPTION_ANTIALIAS'] = false This will tell mayavi to use Qt backend with PyQt bindings, instead of the From 98da43d8aa530f97de12f3180a39d1e9002e7387 Mon Sep 17 00:00:00 2001 From: Guillaume Favelier Date: Fri, 30 Apr 2021 10:43:34 +0200 Subject: [PATCH 3/3] Fix --- doc/install/advanced.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/install/advanced.rst b/doc/install/advanced.rst index 1336df0ab53..cf9af36f237 100644 --- a/doc/install/advanced.rst +++ b/doc/install/advanced.rst @@ -262,7 +262,7 @@ beginning of your script, session, or notebook:: And for macOS users, it might be helpful to also add the following:: - >>> os.environ['MNE_3D_OPTION_ANTIALIAS'] = false + >>> os.environ['MNE_3D_OPTION_ANTIALIAS'] = 'false' This will tell mayavi to use Qt backend with PyQt bindings, instead of the default PySide. For more information, see