-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mayavi problems on MAC #9360
Comments
I can't replicate on my macOS system with Intel Iris graphics. Does What about |
Both note 2d plotting (matplotlib) is working fine. I was able to run this example without issue (https://mne.tools/stable/auto_examples/visualization/channel_epochs_image.html#sphx-glr-auto-examples-visualization-channel-epochs-image-py) similarly 3d plotting (pyvista) also seems to be fine. its only the |
Okay but it's not a purely Mayavi problem because the In other words, Mayavi itself is fine, but somehow our use of Mayavi / the mayavi backend is broken. Next can you try:
You might need to It just occurred to me that this might be an antialiasing issue since it's broken on most macs. Can you see if setting Your |
However there is still something strange going on. the following behavior isn't changed by
but running the same thing in mavi_ipython.movnote similar behavior occurs if I run
which works with python calls. ;--- |
Great! We should add this to the 3D debugging docs. @GuillaumeFavelier want to take a stab?
This looks like an ipython<->mayavi bug. I wonder if it would be fixed by doing |
but I only tested in the ipython session where it didn't have an effect. so never tested it against Its up to you 2 if you feel the current doc is sufficient. |
@bloyl I would argue that if it tripped you up, it's probably not sufficient :) And looking at it, this is listed in the |
I'm having problems with the macos and mayavi visulaization in mne 0.23 (but probably earlier versions as well).
MAC hardware
I created a fresh environment for mne 0.23
Make env
mne sys_info
The pyvista backend seems to work, however the mayavi backend just shows grey background plots.
To reproduce:
it will generate a grey window ('TVTK Scene') with no mayavi control bar. I don't think the QT warning is the issue as it also displays with the pyvista backend.
Interestingly if I press
cntl-d
to quit ipython. the figure shows up while ipython asksDo you really want to exit ([y]/n)?
If I press no, the plot remains but the window is non-responsive.
I should note that mayavi plotting functions (https://docs.enthought.com/mayavi/mayavi/auto/mlab_helper_functions.html#mayavi.mlab.contour3d) seem to work fine.
The reason this is an issue is that
mne coreg
is still mayavi based and displays the same problem.The text was updated successfully, but these errors were encountered: