Version 3.0.3
matplotlib
Fork me on GitHub

matplotlib.axis.XAxis.set_smart_bounds

XAxis.set_smart_bounds(value)

set the axis to have smart bounds