Version 3.1.2
matplotlib

matplotlib.axis.Axis.set_smart_bounds

Axis.set_smart_bounds(value)[source]

Set the axis to have smart bounds.