Version 3.1.1
matplotlib
Fork me on GitHub

matplotlib.axes.Axes.get_xbound

Axes.get_xbound(self)

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