Version 2.2.2
matplotlib

matplotlib.axis.Axis.get_smart_bounds

Axis.get_smart_bounds()

get whether the axis has smart bounds