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

matplotlib.axes.Axes.get_autoscale_on

Axes.get_autoscale_on()

Get whether autoscaling is applied for both axes on plot commands