matplotlib.axes.Axes.format_ydata

Axes.format_ydata(self, y)

Return y formatted as an y-value.

This function will use the fmt_ydata attribute if it is not None, else will fall back on the yaxis major formatter.

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