Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Open
Milestone
Description
This is a general issue to track progress in enabling the plotting oftimedelta
objects. The eventual aim is for code like this to work:
importmatplotlib.pyplotaspltfromdatetimeimporttimedeltax= [1,2]y= [timedelta(seconds=1),timedelta(seconds=2)]fig,ax=plt.subplots()ax.scatter(x,y)plt.show()
TODO
- Method to convert
timedelta
to Matplotlib's internal time/date representation (float number of days) -Allow timedelta to be converted to an ordinalf #9120 - Method to convert Matplotlib's internal time/date representation back to
timedelta
-Add num2timedelta method with test #8870 - Implement a
TimedeltaFormatter
-timedelta formatter #8930 - Implement a
TimedeltaLocator
(possibly along withtimedelta
versions ofSecondLocator
,MinuteLocator
etc.) - Implement an
AutoTimedeltaLocator
- Implement a
TimedeltaConverter
to go in the units registry