matplotlib.axes.Axes.set_autoscaley_on

Axes.set_autoscaley_on(b)

Set whether autoscaling for the y-axis is applied to axes on the next draw or call to Axes.autoscale_view.

Parameters:
bbool