You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 3.0.2.post1971+g24524c430
matplotlib
Fork me on GitHub

matplotlib.axes.Axes.set_autoscale_on

Axes.set_autoscale_on(b)

Set whether autoscaling is applied on plot commands

Parameters:
b : bool