mne-python
mne-python copied to clipboard
[DOC] CSD example matplotlib OO API
Reference issue
Closes #10697. Currently, state machine API to matplotlib is used in the CSD example. In this PR, figure handles are saved and object-oriented API is used to plot CSD matrices.
Current CSD example

Proposed changes in CSD example after this PR

Are these changes ok?
- I have saved each figure in different variables. (instead of just
figfor all of them) - I have explained indexing after the call to
mne.time_frequency.CrossSpectralDensity.plot()because I believe it was a bit awkward.