Hello,
I am running Python 3.7.6 and mnedev version 0.20.dev0 on a Windows 10 Pro. Every time I plot the stc, I get to visualise the plot and I can use the interactive time viewer functionality. However, after checking the plot and closing it, I cannot proceed running the other lines of code as everything is frozen and it appears that the software is still running that command. The only thing I can do is to terminate the iPython (version 7.11.1) session and start a new one.
Here are the lines of code I use to plot stc.
Can you try running it in IPython and seeing if `%gui qt` helps? If you hit
Ctrl-C while it's stuck do you get any traceback? You can also try
upgrading traits, traitsui, pyface, mayavi, and PySurfer to see if any of
these helps.
You can also try the new PyVista-based visualization and time viewer
interface with something like:
with mne.viz.use_3d_backend('pyvista'):
stc.plot(**surfer_kwargs, time_viewer=True)
This mode/backend is being actively developed but hopefully would be usable
for you. You'll need to `pip install pyvista` or so to try it.
Hello,
Did this issue got resolved or is there any workaround?
I have once heard that this might be the bug with the GUI and that there is
no known workaround...
I also have the similar issue!
Thank you in advance.
Sincerely yours,
Kirill
I am running Python 3.7.6 and mnedev version 0.20.dev0 on a Windows 10
Pro. Every time I plot the stc, I get to visualise the plot and I can use
the interactive time viewer functionality. However, after checking the plot
and closing it, I cannot proceed running the other lines of code as
everything is frozen and it appears that the software is still running that
command. The only thing I can do is to terminate the iPython (version
7.11.1) session and start a new one.
Federica
[image: University of Central Lancashire] Please consider the environment
before printing
_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu Mne_analysis Info Page
One possible culprit is the iPython GUI backend. Try running the line
%gui qt
at the beginning of the iPython session or notebook, before you do any plotting.
-- dan
Daniel McCloy https://dan.mccloy.info
Research Scientist
Institute for Learning and Brain Sciences
University of Washington