Pybrain: M/EEG analysis with MNE Python (Problem to visualize the raw data)

Hi,

I am trying to load raw data 01-read_raw_crop_filter.ipynb but having this issue:

raw.plot()

Using qt as 2D backend.
Opening raw-browser…
qt.qpa.drawing: Layer-backing can not be explicitly controlled on 10.14 when built against the 10.14 SDK
Using pyopengl with version 3.1.6
<mne_qt_browser._pg_figure.PyQtGraphBrowser at 0x1671c7e20>

It opens a new window that I can see the raw data however didn’t conclude the opening process… So it can’t be accessed

  • MNE version: e.g. 1.0.0
  • operating system: e.g. macOS Big Sur 11.6.5 / Python 3.10.4

Hello @alexandreokano and welcome to the forum!

This is a known issue with the new visualization GUI, which we are tracking here:

The easiest fix is either to run

%matplotlib qt

in a single notebook cell early on, or to add block=True to the plotting calls, like this:

raw.plot(block=True)

Best wishes
Richard

1 Like

Dear Richard,

Many thanks! It fixed.

Best wishes,

1 Like

@alexandreokano This has been resolved in the latest version of mne-qt-browser, which is also included in our updated installers.

1 Like

Thanks for the update!

1 Like