plotnine.ylim

ylim(limits=())

Set y-axis limits

Parameters

*limits = ()

Min and max limits. Must be of size 2. You can also pass two values e.g ylim(40, 100)

Notes

If the 2nd value of limits is less than the first, a reversed scale will be created.