Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid of qt5 entirely in optional requirements #326

Merged
merged 2 commits into from
Aug 28, 2024

Conversation

mscheltienne
Copy link
Member

@mscheltienne mscheltienne commented Aug 27, 2024

@mscheltienne mscheltienne enabled auto-merge (squash) August 27, 2024 14:59
Parameters
----------
bufsize : int | float
Buffer/window size of the attached Viewer.
The default ``0.2`` should work in most cases since data is fetched
every 20 ms.
"""
from qtpy.QtWidgets import QApplication
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than any of this stuff you could in theory use MNE-Python's app framework, which also has the advantage of setting a nice icon etc. like in mne-qt-browser

https://github.com/mne-tools/mne-qt-browser/blob/a267775f2d0edcf188507c4a66c566cc25182fa2/mne_qt_browser/_pg_figure.py#L44

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, but I'll keep that for whenever I get the motivation to continue #174 ;)

@mscheltienne mscheltienne merged commit 336a58d into mne-tools:main Aug 28, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants