Version 3.1.2
matplotlib

matplotlib.axis.YAxis.get_smart_bounds

YAxis.get_smart_bounds()

Return whether the axis has smart bounds.