matplotlib.axes.Axes.format_ydata#

Axes.format_ydata(y)[source]#

Return y formatted as a y-value.

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