[Mne_analysis] issues with stc.plot

Dan McCloy dan at mccloy.info
Mon Mar 16 15:47:20 EDT 2020
Search archives:

        External Email - Use Caution        

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

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, March 16, 2020 8:59 AM, Kirill Elin <ekirling at gmail.com> wrote:

>         External Email - Use Caution
>
> 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
>
> вт, 10 мар. 2020 г. в 15:08, Federica Degno <FDegno at uclan.ac.uk>:
>
>>         External Email - Use Caution
>>
>> 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.
>>
>> surfer_kwargs = dict(hemi='split', subjects_dir=subjects_dir, views='lateral',initial_time=0.1, time_unit='s', size=(800, 400), smoothing_steps=5, background='b')
>>
>> brain = stc.plot(**surfer_kwargs, time_viewer=True)
>>
>> Any idea on what might be causing the issue?
>>
>> Many thanks,
>>
>> Federica
>>
>> [University of Central Lancashire]
>>
>> Please consider the environment before printing
>> _______________________________________________
>> Mne_analysis mailing list
>> Mne_analysis at nmr.mgh.harvard.edu
>> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200316/e6c409dc/attachment.html 


More information about the Mne_analysis mailing list