Version 3.0.0
matplotlib
Fork me on GitHub

matplotlib.axes.Axes.format_ydata

Axes.format_ydata(y)

Return y string formatted. This function will use the fmt_ydata attribute if it is callable, else will fall back on the yaxis major formatter