mne-python icon indicating copy to clipboard operation
mne-python copied to clipboard

[DOC] CSD example matplotlib OO API

Open sena-neuro opened this issue 3 years ago • 0 comments

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

old_csd_ex

Proposed changes in CSD example after this PR

new_csd_ex

Are these changes ok?

  • I have saved each figure in different variables. (instead of just fig for all of them)
  • I have explained indexing after the call to mne.time_frequency.CrossSpectralDensity.plot() because I believe it was a bit awkward.

sena-neuro avatar Aug 11 '22 14:08 sena-neuro