Version 2.2.3
matplotlib

matplotlib.axis.Axis.set_smart_bounds

Axis.set_smart_bounds(value)[source]

set the axis to have smart bounds