mne-tools / mne-connectivity

Connectivity algorithms that leverage the MNE-Python API.
https://mne.tools/mne-connectivity/dev/index.html
BSD 3-Clause "New" or "Revised" License
66 stars 34 forks source link

[ENH] Add the option to choose number of connections shown with plot_sensor_connectivity #132

Closed Avoide closed 1 year ago

Avoide commented 1 year ago

Thanks for contributing. If this is your first time, make sure to read contributing.md

PR Description

Moved the hard-coded variable n_con to be one of the parameters for the function call. Added a default option, to make it compatible with previous usage.

Merge checklist

Maintainer, please confirm the following before merging: