IndexFormatter

class IndexFormatter(labels)[source]

Bases: Formatter

Format numbers by assigning fixed strings to non-negative indices. Generally paired with IndexLocator or FixedLocator.