Open jasmainak opened 1 year ago
How does the plot look if you use the Matplotlib backend?
But it's still buggy ... it doesn't show the events
@jasmainak can you have a look? at least at the matplotlib code?
Message ID: @.***>
If you are using MNE-Python version 0.23.0, you may want to update to a later version to resolve this issue. Alternatively, you could manually adjust the x-axis limits using the xlim argument in raw.plot(). For example, you could set raw.plot(events=events, event_color='r', xlim=(0, raw.times[-1])) to start the x-axis at 0 and end it at the last sample in the data. i this this would we usefull.
Description of the problem
Plotting raw data with
show_first_samp=True
gives strange results.Steps to reproduce
Link to data
No response
Expected results
We would expect the data to be shown but it is not. It seems to suggest some indexing bug.
Actual results
Additional information