limit axis in one direction plt
snippet in c

limit axis in one direction plt

user6341

>>> set_ylim(bottom, top)
>>> set_ylim((bottom, top))
>>> bottom, top = set_ylim(bottom, top)