mne.viz.plot_epochs(epochs) - Some info missing compared to older MNE version

  • MNE version: 1.3.0
  • operating system: Windows 10

Dear Team,

yestarday I upgraded MNE from 0.22.0 to 1.3.0.

With the 0.22.0 version, when I used to run

mne.viz.plot_epochs(epochs)

I received a plot with a lot of useful information, among which, if I well remember:

    1. The first line of numbers reported the event IDs of each epochs
    1. The second line of numbers reported the index of each epochs
    1. The third line of numbers reported the time intervals in seconds, that was really useful to check where epochs where located in time.

Unfortunately now, with the 1.3.0 version I can see only the epoch index, as shown below:

I tried also different approaches reading the documentation like:

event_dict = {'Face': 1, 'Body': 2}
epochs.plot(events=events, event_id=event_dict)

but the plot looks the same as above.

Would be possibile to display the following?

  • event ID (e.g. 1)
  • event name (e.g. Face )
  • Show different events with different colors (I found a tutorial that used β€œevent_color=dict(button=β€˜red’, face=β€˜blue’)” but it returns error because it wants an integer value)
  • The time in seconds to understand where an epoch is located in time.

Here a screenshot of the events I used to create epochs of 1 second duration.
As you can see, from second 5 to 6 no epochs where generated. It is clear looking at the event plot, but this information is not clear looking at the epoch plot.
If it is not possible with the epochs plot, maybe is it possible to raw.plot including epoch information?
image

Thanks a lot!