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
Minor: epoch counts in epochs.plot() starts with 1 instead of 0 #7260
When using epochs.plot() to display epochs, e.g. to manually identify bad ones, the epoch numbers displayed on the plot start with 1, not 0, while epochs.drop() expects counts to start from 0.
[I am aware that one can use the interactive plot + annotations to manually reject epochs, but still think it would avoid confusion if the counters match.]
Activity
agramfort commentedon Jan 28, 2020
SophieHerbst commentedon Jan 28, 2020
Yes, at least in my output ICA components are numbered from 0. Can the same be done for the epochs?
agramfort commentedon Jan 28, 2020
larsoner commentedon Jan 28, 2020
Sounds good to me, @SophieHerbst can you make a PR?
SophieHerbst commentedon Jan 28, 2020
I can give it a try in the next couple of days.
MRG, FIX: make labels in epochs.plot start at 0, fixes issue #7260 (#…
MRG, FIX: make labels in epochs.plot start at 0, fixes issue mne-tool…
MRG, FIX: make labels in epochs.plot start at 0, fixes issue mne-tool…