plot_sensors(kind='select') does not fill the list with selected channel names
See original GitHub issueFor some reason interactive channel selection in plot_sensors(kind='select') does not update the returned list of selected channels.
Reproducible example
Confirmed this on latest master:
import mne
import os
from mne.datasets import multimodal
fname_raw = os.path.join(multimodal.data_path(), 'multimodal_raw.fif')
raw = mne.io.read_raw_fif(fname_raw)
now in interactive mode perform:
fig, sel = raw.plot_sensors(kind='select')
select a few channels and see what happens to sel list - its empty.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
DISPLAY CHANNEL
Use the MQSC command DISPLAY CHANNEL to display a channel definition. ... It can be a specific channel name or a generic channel...
Read more >display channel names from a specific category with python
I can't find threads like this just count of how many text channels are in specific category etc... I did setup the basic...
Read more >Mention channels in video titles & descriptions - Android
The mention of your channel in someone else's video doesn't increase the likelihood of their video ... Choose the channel name from a...
Read more >How to Generate YouTube Channel Name Ideas
Kparser is not exactly a channel name generator, but if you're looking for an SEO specific channel name, this tool can come in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Well, you can still access it via
fig.lasso.selection. But actually, after digging around in the code, I think I know what changed. Previously I think the originallistobject created during init of the lasso selector was preserved throughout. That is no longer happening; in theon_selectandselect_manymethods it’s now getting rewritten instead of just appended, popped, etc. I’ll see if I can fix it.Ok, so currently the old behavior, where the list would update without blocking is not possible? Then I’d consider throwing a warning when
kind='select'andblock=False.