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

matplotlib.axes.Axes.format_xdata

Axes.format_xdata(self, x)

Return x formatted as an x-value.

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