mpl.dates.RRuleLocator

class mpl.dates.RRuleLocator(o, tz=None)[source]
__init__(o, tz=None)[source]

Methods

__init__(o[, tz])
autoscale() Set the view limits to include the data range.
create_dummy_axis(**kwargs)
datalim_to_dt() Convert axis data interval to datetime objects.
get_unit_generic(freq)
nonsingular(vmin, vmax) Given the proposed upper and lower extent, adjust the range if it is too close to being singular (i.e.
pan(numsteps) Pan numticks (can be positive or negative)
raise_if_exceeds(locs) raise a RuntimeError if Locator attempts to create more than
refresh() refresh internal information based on current lim
set_axis(axis)
set_bounds(vmin, vmax)
set_data_interval(vmin, vmax)
set_params(**kwargs) Do nothing, and rase a warning.
set_tzinfo(tz) Set time zone info.
set_view_interval(vmin, vmax)
tick_values(vmin, vmax)
view_limits(vmin, vmax) select a scale for the range from vmin to vmax
viewlim_to_dt() Converts the view interval to datetime objects.
zoom(direction) Zoom in/out on axis; if direction is >0 zoom in, else zoom out

Attributes

MAXTICKS
axis
hms0d