This page provides a reference for the API of nc-time-axis.
For historical reasons, nc-time-axis defines a
class which encapsulates a
cftime.datetime object and its calendar
type. This is no longer needed, and will be removed in nc-time-axis version
1.5, but we document it here for now.
Container for a
AutoCFTimeFormatter is what is used by default when plotting
cftime.datetime axis; it will automatically pick a date label format
depending on the axis range. If you would like more control over the format of
the date labels you may use the
Automatic formatter for
A formatter for explicitly setting the format of a
NetCDFTimeDateLocator is what is used by default to set the tick
locations depending on the range of the axis. For finer-grained control over
the tick locations, use matplotlib’s
matplotlib.axes.Axes.set_yticks() methods to set the tick locations
Determines tick locations when plotting
Internally, nc-time-axis must convert times to numerical values so that
matplotlib can plot them on axes. The
NetCDFTimeConverter is used
for this purpose.