use_simple_ticks_renamer

PlasmaCalcs.plotting.plot_tools.plot_tricks.use_simple_ticks_renamer(x, f, ax=None)

simple tick formatter, changes tick names from val to f(val).

f: callable
f(tick value) –> string to use for labeling tick.
x: ‘x’, ‘y’, or both
which axis to set the tick formatter on.