You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main mne.viz module allows for the specification of the block param. mne-nirs visualization functions don't support this. Our workflow is primarily scripts in vscode, and not notebooks, which means that many of these plots, particularly this one...
immediately close upon running. I have read the discussion on this subject in the forums, and as was suggested there, would like to have a block param.
and then added as a parameter to the various plotting functions in the mne_nirs.visualization. Or just add logic the functions themselves. I am unsure what the best way would be. Given that these are not matplotlib plots, but some unknown backend that varies from system to system, the abstract implementation makes the most sense to me.
The text was updated successfully, but these errors were encountered:
Agreed this should probably be part of the viz backend system. Rather than add a block param I think it would be nicer to have a function that you can just call. Currently we have stuff like mne.viz.set_3d_view. This could be something like mne.viz.block(kind="3d") or something maybe (where the default kind="matplotlib" would just wrap plt.show(block=True))?
Describe the new feature or enhancement
The main mne.viz module allows for the specification of the
block
param.mne-nirs
visualization functions don't support this. Our workflow is primarily scripts in vscode, and not notebooks, which means that many of these plots, particularly this one...mne-nirs/mne_nirs/visualisation/_plot_nirs_source_detector.py
Line 12 in d7978f1
immediately close upon running. I have read the discussion on this subject in the forums, and as was suggested there, would like to have a
block
param.Describe your proposed implementation
Maybe implement in the abstract class
https://github.com/mne-tools/mne-python/blob/main/mne/viz/backends/_abstract.py#L16
and then added as a parameter to the various plotting functions in the
mne_nirs.visualization
. Or just add logic the functions themselves. I am unsure what the best way would be. Given that these are notmatplotlib
plots, but some unknown backend that varies from system to system, the abstract implementation makes the most sense to me.The text was updated successfully, but these errors were encountered: