📅  最后修改于: 2022-03-11 14:47:10.081000             🧑  作者: Mango
# Basic syntax:
plt.set(ylim=(lower_bound, upper_bound)) # E.g.:
plt.set(ylim=(0, 100))
# Note, change ylim to xlim to control the range on the x-axis
# Note, use None on either bound to avoid having to specify it, e.g.:
plt.set(ylim=(0, None))