Version 2.2.4
matplotlib

matplotlib.axes.Axes.set_autoscalex_on

Axes.set_autoscalex_on(b)

Set whether autoscaling for the x-axis is applied on plot commands

Parameters:b : bool