tlpipe.plot.plot_phase.AutoMinorLocator

class tlpipe.plot.plot_phase.AutoMinorLocator(n=None)[source]

Dynamically find minor tick positions based on the positions of major ticks. Assumes the scale is linear and major ticks are evenly spaced.

Attributes

MAXTICKS
axis
__init__(n=None)[source]

n is the number of subdivisions of the interval between major ticks; e.g., n=2 will place a single minor tick midway between major ticks.

If n is omitted or None, it will be set to 5 or 4.

Methods

autoscale() autoscale the view limits
create_dummy_axis(\*\*kwargs)
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_view_interval(vmin, vmax)
tick_values(vmin, vmax)
view_limits(vmin, vmax) select a scale for the range from vmin to vmax
zoom(direction) Zoom in/out on axis; if direction is >0 zoom in, else zoom out