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


Travis-CI:

This Page

matplotlib.axis.Axis.set_major_formatter

Axis.set_major_formatter(formatter)

Set the formatter of the major ticker

ACCEPTS: A Formatter instance