Axes.set_autoscaley_on()
Set whether the yaxis is autoscaled when drawing or by Axes.autoscale_view.
Axes.autoscale_view