Version 3.0.2
matplotlib

matplotlib.axis.XAxis.limit_range_for_scale

XAxis.limit_range_for_scale(vmin, vmax)