Ica.plot_overlay: Pan forward and missing data

  • MNE-Python version: 0.21.0
  • operating system: Windows10

Hi,
I’ve noted that the function ica.plot_overlay (or mne.viz.plot_ica_overlay) doesn’t not display the results for the entire lenght in seconds of the raw object, but only for the first 3 seconds.

According to the documentation if “start” and “end” are not specified, it should show the results from the beginning to the end.

Here the default figure I get (it displays 3 seconds):

And here what happens if I move forward with the “pan” tool:

As you can see, data are not available for the inspection of the following seconds.
How could I inspect such missing part?

:point_right: :point_right: :point_right: Thank you in advance :point_left: :point_left: :point_left:

The documentation is actually incorrect; the current code only plots the data from 0 to 3 seconds for Raw instances by default, as you’re seeing here. To plot more data, simply pass tstart and tstop.

1 Like