📜  seaborn 轴限制 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:10.081000             🧑  作者: Mango

代码示例1
# 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))