Seaborn 数据可视化进阶
Chris Moffitt
Instructor
regplot 会生成带回归线的散点图displot 类似data、x 和 ysns.regplot(data=df, x="alcohol", y="pH" )

regplot —— 低层接口sns.regplot(data=df,
x="alcohol",
y="quality")

lmplot —— 高层接口sns.lmplot(data=df,
x="alcohol",
y="quality")

hue)sns.lmplot(data=df,
x="quality",
y="alcohol",
hue="type")

col)sns.lmplot(data=df,
x="quality",
y="alcohol",
col="type")

Seaborn 数据可视化进阶