mnelab: MNE Qt Browser does not work with MNELAB
I’m using MNE 1.5.1 and MNELAB 0.8.6 with the [full] installation on a windows 11 workstation.
I’ve loaded .vhdr and .fif files and can plot PSD and inspect channels in what looks like the normal qt windows. But I get the following error when trying plot data:
Traceback (most recent call last): File "C:\Users\moberg\AppData\Local\mne-python\1.5.1_0\Lib\site-packages\mnelab\mainwindow.py", line 783, in plot_data win = fig.canvas.manager.window ^^^^^^^^^^ AttributeError: 'MNEQtBrowser' object has no attribute 'canvas'
Also, after this error the toolbar icons are replaced with text description (that get cropped with ellipses … )
What do I need to look into for trouble shooting?
About this issue
- Original URL
- State: closed
- Created 6 months ago
- Comments: 30 (17 by maintainers)
Yes I think resources is how we do it in MNE-Python and IIRC it’s not too difficult
Probably yes, I am not a QT specialist, something like this on mne-qt-browser side might help ‘QIcon.setThemeSearchPaths([local_icon_dir]
On Mon, 26 Feb 2024 at 07:41, Clemens Brunner @.***> wrote:
Regarding the default settings, I think this is a separate issue which also applies to the Matplotlib backend. I’m fine with changing it to e.g. 20 channels per page and auto-scaling. Can you create a new issue?
Nice find @danieltomasz! I’ll pin PySide6 and then release a quick hotfix, ideally together with #403.
I can confirm that downgrading on MacOS 14.3.1 helps with crash and it gives the other expected error
AttributeError: 'MNEQtBrowser' object has no attribute 'canvas'
After removing
mne-qt-browser
from my env dependencies and and pinning PySide6 to 6.5.3 I can plot raw file (withmnelab
0.8.6 on MacOS)