Version 2.2.2
matplotlib
Fork me on GitHub

matplotlib.axis.XAxis.limit_range_for_scale

XAxis.limit_range_for_scale(vmin, vmax)