Open Fayed-Rsl opened 3 months ago
I'm already a bit puzzled by the first plot (raw.plot_sensors(show_names=True)
), because (1) most labels seem to show at least two overlapping labels at the same position, and (2) the labels are different from the labels in the PSD plots.
Description of the problem
Hello,
I discovered a bug in the sensor name when using mne.viz.plot_topomap. The values on the topomap remain correct but not the names; which can lead to confusion if we want to draw conclusion based on quick visualisation of sensor names.
Steps to reproduce
Link to data
No response
Expected results
raw.plot_sensors(show_names=True) should provide the following plot
raw_psd.plot_topomap(bands=freqs_beta, show_names=True)
So far this looks correct to me and I would expect mne.viz.plot_topomap to produce similar result as raw_psd.plot_topomap.
Actual results
But when doing mne.viz.plot_topomap(psd_mean, raw.info, show=True, res=300, sensors=True, names=raw.ch_names), I didn't expected to have this sensor names scheme. Unfortunately there is no colorbar option using mne.viz.topomap to my knowledge so the color-scheme is slightly different but I checked that the values where the same earlier)
Additional information
Let me know if there is something that I am missing here. Thanks for your support.