Skip to content

ica.plot_sources ignores ica_names if picks is used #8966

Closed

Description

@bloyl

Describe the bug

if you specify picks to ica_plot_sources the labels are in order starting with ICA0000, ICA0001....

For instance
ica.plot_sources(raw, picks=[4, 6])
will make a plot whose ch_name labels are ICA0000 ICA0001

Steps to reproduce

this is reproduced in the final plot of the ica example
https://mne.tools/dev/auto_examples/preprocessing/plot_run_ica.html#sphx-glr-auto-examples-preprocessing-plot-run-ica-py

CC @drammock

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions