We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fig, ax = plt.subplots() @mticker.FuncFormatter def format(x, pos=None): return f'{x}!' ax.plot(['A','B','C'], [4,5,6]) ax.xaxis.set_major_formatter(format)
yields:
when the expected behavior would be something like: