Description
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...
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 not matplotlib
plots, but some unknown backend that varies from system to system, the abstract implementation makes the most sense to me.
Activity