1# Basic syntax:
2plt.set(ylim=(lower_bound, upper_bound)) # E.g.:
3plt.set(ylim=(0, 100))
4
5# Note, change ylim to xlim to control the range on the x-axis
6# Note, use None on either bound to avoid having to specify it, e.g.:
7plt.set(ylim=(0, None))