Open Genuster opened 1 year ago
that is correct. In butterfly mode all channels of a given type are shown overlaid on each other. For a quick fix to get the "expected results" figure you could first reduce to just the channel type you want, i.e.:
raw.copy().pick('eeg').plot(butterfly=True)
(the .copy()
is in there so that your original raw object isn't modified).
As far as whether this is a bug: I would say that it's correct to ignore n_channels
when butterfly=True
, so I would vote to keep that behavior as it is. However, I can see how it would be useful for the keyboard shortcuts to still work for showing/hiding the channel types (instead of the individual channels, as is done when butterfly=False
).
👍 for just enabling the keyboard shortcuts.
Description of the problem
For
raw.plot(butterfly=True)
neither keyboard shortcut for changing number of visible channels, norn_channels
argument have an effect on number of visible channels.Steps to reproduce
Link to data
No response
Expected results
Actual results
Additional information