cbrnr / mnelab

MNELAB – a GUI for MNE
BSD 3-Clause "New" or "Revised" License
238 stars 69 forks source link

Montage previews cannot be closed on macOS #253

Open cbrnr opened 2 years ago

cbrnr commented 2 years ago

When previewing a montage (EditSet montage..., select any montage and click on View), the montage previews that open in a separate window cannot be closed as long as the Set montage dialog is still open.

hofaflo commented 2 years ago

Cannot reproduce on Win10, multiple montage preview windows can be closed independent of the "Set montag" dialog's state 🤔

cbrnr commented 8 months ago

A nice solution would be to include the previews in the montage dialog, perhaps with a collapsible "Details" button.

This example shows how to embed a Matplotlib figure in a QWidget:

https://matplotlib.org/stable/gallery/user_interfaces/embedding_in_qt_sgskip.html