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
{{ message }}
Repository navigation
Add psd_args parameter to mne.preprocessing.ICA.plot_sources #12905
Add a psd_args parameter to mne.preprocessing.ICA.plot_sources that gets passed to the plot we get when clicking on an IC source name. This would allow customization of the PSD plot that appears when interacting with the plot_sources output, similar to how psd_args works in mne.preprocessing.ICA.plot_components.
Describe your proposed implementation
The implementation would pass the psd_args parameter through to plot_properties when a user clicks on a source name in the plot_sources output.
Describe possible alternatives
I think the proposed implementation is optimal and superior compared to for example creating a new method.
It maintains consistency with how plot_components handles psd_args
It provides immediate, intuitive access to PSD customization within the plot_sources method
It doesn't require additional methods or global configurations, keeping the API simple and flexible
Activity
welcome commentedon Oct 21, 2024
Hello! 👋 Thanks for opening your first issue here! ❤️ We will try to get back to you soon. 🚴
larsoner commentedon Oct 21, 2024
Seems straightforward and useful, feel free to open a PR if you're up for it!