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 cftime version 1.3.0 cftime.datetime objects are now calendar-aware. Eventually this will obviate the need for calendar-specific subclasses, like cftime.DatetimeNoLeap. nc-time-axis currently does not register cftime.datetime objects in matplotlib's units registry, so matplotlib does not attempt to convert them. It would be great if -- similar to the subclasses -- we could also directly plot the new calendar-aware base class using nc-time-axis.
✨ Feature Request
In cftime version 1.3.0
cftime.datetime
objects are now calendar-aware. Eventually this will obviate the need for calendar-specific subclasses, likecftime.DatetimeNoLeap
. nc-time-axis currently does not registercftime.datetime
objects in matplotlib's units registry, so matplotlib does not attempt to convert them. It would be great if -- similar to the subclasses -- we could also directly plot the new calendar-aware base class using nc-time-axis.Motivation
E.g. while we can currently do:
It would be great if we could also do:
This currently results in an error, because matplotlib does not convert the dates.
The text was updated successfully, but these errors were encountered: