plotters.cathy_plots.FormatStrFormatter#
- class plotters.cathy_plots.FormatStrFormatter(fmt)[source]#
 Use an old-style (‘%’ operator) format string to format the tick.
The format string should have a single variable format (%) in it. It will be applied to the value (not the position) of the tick.
Negative numeric values (e.g., -1) will use a dash, not a Unicode minus; use mathtext to get a Unicode minus by wrapping the format specifier with $ (e.g. “$%g$”).
Methods
__init__(fmt)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. This is a helper method to perform such a replacement when it is enabled via :rc:`axes.unicode_minus`.
format_data(value)Return the full string representation of the value with the position unspecified.
format_data_short(value)Return a short string version of the tick value.
format_ticks(values)Return the tick labels for all the ticks at once.
get_offset()set_axis(axis)set_locs(locs)Set the locations of the ticks.
Attributes
axislocs