[Mne_analysis] Losing ability to scroll through raw data plot.

Paul Fishback fishbacp at mail.gvsu.edu
Tue Jul 7 12:08:22 EDT 2020
Search archives:

        External Email - Use Caution        

Unfortunately, neither backend solves the problem.

On Tue, Jul 7, 2020 at 11:50 AM Eric Larson <larson.eric.d at gmail.com> wrote:

>         External Email - Use Caution
>
> Does `mne sys_info` under "matplotlib" say that you are using the MacOSX
> backend for matplotlib? If you do `matplotlib.use('Qt5Agg')` at the top of
> your script does it work? The MacOSX backend sometimes has
> issues, generally the Qt5Agg backend tends to work better.
>
> Eric
>
>
> On Tue, Jul 7, 2020 at 11:46 AM Paul Fishback <fishbacp at mail.gvsu.edu>
> wrote:
>
>>         External Email - Use Caution
>>
>> Hi Eric,
>>
>> Thanks for the suggestion. I tried using plt.ion() since I'm working in
>> plain Python, but that didn't fix the issue.
>>
>> I'm doing everything on a Mac with Catalina 10.15.4. Might that have
>> anything to do with the problem.
>>
>> Your second suggestion for IPython is what always worked for me in
>> Jupyter.
>>
>> Thanks again.
>>
>> Paul
>>
>> On Tue, Jul 7, 2020 at 11:26 AM Eric Larson <larson.eric.d at gmail.com>
>> wrote:
>>
>>>         External Email - Use Caution
>>>
>>> Do you have matplotlib interactive mode enabled? For example with
>>> `plt.ion()` in plain Python, or `%matplotlib qt` in IPython?
>>>
>>> Eric
>>>
>>>
>>> On Tue, Jul 7, 2020 at 10:47 AM Paul Fishback <fishbacp at mail.gvsu.edu>
>>> wrote:
>>>
>>>>         External Email - Use Caution
>>>>
>>>> Hello,
>>>>
>>>> I'm using MNE with the IDLE IDE for Python 3.7 and am having problems
>>>> making my raw plot interactive. I was able to overcome this problem when
>>>> doing everything in Jupyter.
>>>>
>>>> My input file is edf and not fif. The relevant commands from within my
>>>> script are as follows:
>>>>
>>>> directory='/Users/fishbacp/Desktop/my_file.edf'
>>>> raw = mn.io.read_raw_edf(directory, preload=True)
>>>> raw.plot()
>>>>
>>>> The graph appears, but the scrolling features don't function, nor the
>>>> HELP button.
>>>>
>>>> Thanks for any assistance.
>>>>
>>>> Paul
>>>>
>>>> --
>>>> Professor of Mathematics, Grand Valley State University
>>>> President, Pi Mu Epsilon National Honorary Mathematics Society, Inc.
>>>>
>>>> Department of Mathematics (MAK C-2-408)
>>>> Grand Valley State University
>>>> 1 Campus Dr.
>>>> Allendale, MI 49401
>>>> fishbacp at mail.gvsu.edu
>>>> 616.331.2040
>>>> 616.331.3120 (fax)
>>>> _______________________________________________
>>>> Mne_analysis mailing list
>>>> Mne_analysis at nmr.mgh.harvard.edu
>>>> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>>>
>>> _______________________________________________
>>> Mne_analysis mailing list
>>> Mne_analysis at nmr.mgh.harvard.edu
>>> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>>
>>
>>
>> --
>> Professor of Mathematics, Grand Valley State University
>> President, Pi Mu Epsilon National Honorary Mathematics Society, Inc.
>>
>> Department of Mathematics (MAK C-2-408)
>> Grand Valley State University
>> 1 Campus Dr.
>> Allendale, MI 49401
>> fishbacp at mail.gvsu.edu
>> 616.331.2040
>> 616.331.3120 (fax)
>> _______________________________________________
>> Mne_analysis mailing list
>> Mne_analysis at nmr.mgh.harvard.edu
>> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis



-- 
Professor of Mathematics, Grand Valley State University
President, Pi Mu Epsilon National Honorary Mathematics Society, Inc.

Department of Mathematics (MAK C-2-408)
Grand Valley State University
1 Campus Dr.
Allendale, MI 49401
fishbacp at mail.gvsu.edu
616.331.2040
616.331.3120 (fax)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200707/48130a4f/attachment.html 


More information about the Mne_analysis mailing list