Version 2.2.2
matplotlib
Fork me on GitHub

matplotlib.axis.YAxis.limit_range_for_scale

YAxis.limit_range_for_scale(vmin, vmax)