matplotlib.axes.Axes.get_ybound

Axes.get_ybound(self)

Return the lower and upper y-axis bounds, in increasing order.