mne qt browser: Positional argument error results when trying to adjust Overview-Modes.

  • MNE version: 1.3.1
  • mne-qt-browser 0.4.0
  • macOS 12.6

I’m experimenting with the mne qt browser. My code:

import mne
mne.set_config('MNE_BROWSE_RAW_SIZE','20,10')
file='sample_data.edf'
raw=mne.io.read_raw_edf(file,preload=True)
raw.plot(show=True,block=True, duration=20,bgcolor='w',color='b', bad_color='r')

When I try to select “z-score” or “empty” under the Overview-Modes, I receive the following error:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/mne_qt_browser/_pg_figure.py", line 2673, in call
    return meth_(*args_, **kwargs, **kwargs_)
TypeError: _overview_radio_clicked() takes 1 positional argument but 2 positional arguments (and 2 keyword-only arguments) were given

Hello,

I can reproduce with the sample dataset. I’ve opened an issue here:

Best,
Mathieu