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

© 2012–2017 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
http://matplotlib.org/2.1.0/api/_as_gen/matplotlib.axes.Axes.format_ydata.html