Skip to content

Fix bug with ica.plot_properties#13885

Open
larsoner wants to merge 13 commits intomne-tools:mainfrom
larsoner:ica
Open

Fix bug with ica.plot_properties#13885
larsoner wants to merge 13 commits intomne-tools:mainfrom
larsoner:ica

Conversation

@larsoner
Copy link
Copy Markdown
Member

@larsoner larsoner commented May 5, 2026

A start toward #13879. But there are some oddities in the code... I think some parts should be plotting the variance of the dropped epochs, but silently don't currently. Now they explicitly plot zero, which is not ideal (I guess it could mean "unknown"?). The indexing logic was also broken (off-by-one error).

I suspect these plots have been wrong for some time in hard-to-detect ways. Will need to look further...

Closes #13879

@larsoner larsoner added the backport-candidate on-merge: backport to maint/1.12 label May 5, 2026
@larsoner larsoner marked this pull request as draft May 5, 2026 15:07
@larsoner larsoner marked this pull request as ready for review May 6, 2026 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-candidate on-merge: backport to maint/1.12

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ica.plot_properties(reject='auto') raises IndexError when fit-time reject dropped any segments

1 participant