Losing ability to scroll through raw data plot.

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

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

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

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

External Email - Use Caution

Unfortunately, neither backend solves the problem.