Version 2.2.2
matplotlib

matplotlib.axis.YAxis.get_data_interval

YAxis.get_data_interval()

return the Interval instance for this axis data limits