mne-python: Selecting ICA components in `ica.plot_components` doesn't work anymore
If I click on the title of a component in the dialog produced by ica.plot_components(inst=raw), I get the following error:
File "/usr/local/lib/python3.6/site-packages/matplotlib/cbook/__init__.py", line 389, in process
proxy(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/matplotlib/cbook/__init__.py", line 227, in __call__
return mtd(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/mne/viz/topomap.py", line 1006, in onclick
label = event.inaxes.get_label()
AttributeError: 'NoneType' object has no attribute 'get_label'
Any idea why the label is gone and how to retrieve it (actually, event.inaxes is None)?
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 21 (21 by maintainers)
Ok, I’ll try to do it in one PR.