You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Show times relative to meas_date in raw.plot #9335
In terms of a mechanism for doing it, I would make a new tick formatter. Matplotlib decides where the ticks go, and the formatter takes the x values (which are just from raw.times starting from zero) and incorporates whatever information about first_samp, raw.annotations.meas_date etc. and returns the datetime string.
Activity
larsoner commentedon Apr 26, 2021
In terms of a mechanism for doing it, I would make a new tick formatter. Matplotlib decides where the ticks go, and the formatter takes the x values (which are just from
raw.timesstarting from zero) and incorporates whatever information aboutfirst_samp,raw.annotations.meas_dateetc. and returns the datetime string.cbrnr commentedon Apr 27, 2021
I can give it a try, but not for 0.23 (obviously).
cbrnr commentedon Jun 9, 2021
Fixed in #9419.