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
rather be
x and/or y can be a sequence of dates represented as float days since
2001-01-01 UTC
No, it is almost correct. It should say that it interprets float days
as 1 day plus the interval in days since 0001-01-01 using the Gregorian
calendar. See the documentation for the dates module and the date2num
and num2date functions.
so the year 0001 should be 2001, right? at least with my version
2001-01-01 works...
What do you mean here by "works"?
If you want to use 2001-01-01 as your origin for a floating point days
time scale, then you need to add date2num(datetime.date(2001, 1, 1)) to
it before feeding it to plot_date.
Eric
—
Reply to this email directly or view it on GitHub #1363.
Hi,
here http://matplotlib.org/api/pyplot_api.html?highlight=plot_date#matplotlib.pyplot.plot_date
shouldn't this line:
x and/or y can be a sequence of dates represented as float days since 0001-01-01 UTC
rather be
x and/or y can be a sequence of dates represented as float days since 2001-01-01 UTC
so the year 0001 should be 2001, right? at least with my version 2001-01-01 works...
The text was updated successfully, but these errors were encountered: