📜  y 和 x 的散点范围 - Python 代码示例

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

代码示例1
# with xlim/ylim
fig, scatter = plt.subplots(figsize = (10,6), dpi = 100)
scatter = sns.scatterplot(x = 'mass', y ='distance', data=data)
scatter.set_xlim(left=0, right=6)
scatter.set_ylim(bottom=0, top=200);