Version 2.2.2
matplotlib

This Page

matplotlib.axis.YAxis.limit_range_for_scale

YAxis.limit_range_for_scale(vmin, vmax)