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
In plot_wfdb, add an argument sharex which controls whether X axes are
shared between subplots.
(This means that multiple channels will always appear time-aligned
with each other, even if one channel starts or ends with a block of
NaNs. It also means that if you use the pan/zoom buttons to navigate,
the channels will stay aligned with each other.)
sharex=True is generally desirable behavior; however, if the time
units are sample numbers and the record is multi-frequency, then it's
not possible (AFAICT) with matplotlib to have the axes synchronized
while displaying different units on different subplots. So we disable
sharex by default in that case.
Finally, plot_wfdb will use time_units="seconds" by default, which I
think is useful because it's consistent (across databases) and
familiar.
0 commit comments