mpl.dates.IndexDateFormatter

class mpl.dates.IndexDateFormatter(t, fmt, tz=None)[source]

Use with IndexLocator to cycle format strings by index.

__init__(t, fmt, tz=None)[source]

t is a sequence of dates (floating point days). fmt is a strftime() format string.

Methods

__init__(t, fmt[, tz]) t is a sequence of dates (floating point days). fmt is a
create_dummy_axis(**kwargs)
fix_minus(s) Some classes may want to replace a hyphen for minus with the proper unicode symbol (U+2212) for typographical correctness.
format_data(value)
format_data_short(value) return a short string version
get_offset()
set_axis(axis)
set_bounds(vmin, vmax)
set_data_interval(vmin, vmax)
set_locs(locs)
set_view_interval(vmin, vmax)

Attributes

axis
locs