You are reading an old version of the documentation (v3.1.1). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.format_ydata.html
Version 3.1.2
matplotlib
Fork me on GitHub

Table of Contents

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.

Examples using matplotlib.axes.Axes.format_ydata