IndexLocator

class IndexLocator(base=1, offset=0)[source]

Bases: Locator

Format numbers by assigning fixed strings to non-negative indices. The ticks are restricted to the extent of plotted content when content is present.