Hi, first of all Happy New year to everyone and may you find health and success in this new year.
Secondly, thank you very much for this amazing tool which is mne.
I ran into some issues recently with the plotting:
when I do raw.plot()
, the signal is plotted into a matplotlib window instead of the nice MNE BROWSER. I spent a lot of time trying to troubleshoot by checking:
- If the right matplotlib backend is called (Qt5Agg)
- If I have the right Qt version (Qt5)
- If the right PyQt is installed (PyQt5)
- If I have mne-qt-browser is installed (checked through the conda verbose during the install)
- When using iPython I tryied the magic commands %gui qt, %matplotlib qt
- Tried different text editors (VIM, VS code)
and I ended up reinstalling mne, miniconda, Qt etc…
But nothing
When I run raw.plot()
I can see this message:
<ipython-input-3-41bfa3401378>:199: RuntimeWarning: Setting non-standard config type: "MNE_BROWSER_BACKEND" mne.set_config('MNE_BROWSER_BACKEND', 'qt5')
I noticed that everytime I installed mne with miniconda or mamba when I run mne --version
it shows MNE 0.23.dev0
.
And when I run mne.sys_info()
I get:
Platform: Windows-10-10.0.19044-SP0
Python: 3.10.8 | packaged by conda-forge | (main, Nov 22 2022, 08:16:33) [MSC v.1929 64 bit (AMD64)]
Executable: c:\Users\Sam19\miniconda3\envs\mne\python.exe
CPU: Intel64 Family 6 Model 85 Stepping 7, GenuineIntel: 20 cores
Memory: 63.7 GB
mne: 0.23.dev0
numpy: 1.23.5 {blas=NO_ATLAS_INFO, lapack=lapack}
scipy: 1.10.0
matplotlib: 3.6.2 {backend=Qt5Agg}
sklearn: 1.2.0
numba: 0.56.4
nibabel: 4.0.2
nilearn: 0.10.0
dipy: 1.5.0
cupy: Not found
pandas: 1.5.2
mayavi: Not found
pyvista: 0.37.0 {pyvistaqt=0.9.0, OpenGL 4.5.0 NVIDIA 522.06 via Quadro RTX 4000/PCIe/SSE2}
vtk:
PyQt5: 5.15.7
as you can see I want MNE version 1.3.0 but I get the version 0.23.
So I presumed that mne-qt-browser was not implemented in that version and that’s why I can’t plot correctly with mne-qt-browser.
The question is, how can I get the right version when installling mne with mamba or miniconda?
Thanks in advance