You are reading an old version of the documentation (v3.1.3). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.axis.Axis.set_major_formatter.html
Version 3.1.3
matplotlib
Fork me on GitHub

Table of Contents

matplotlib.axis.Axis.set_major_formatter

Axis.set_major_formatter(self, formatter)[source]

Set the formatter of the major ticker.

Parameters:
formatter : Formatter

Examples using matplotlib.axis.Axis.set_major_formatter