Version 3.0.2
matplotlib

matplotlib.axis.YAxis.get_smart_bounds

YAxis.get_smart_bounds()

get whether the axis has smart bounds