seaborn的简单使用

一、箱线图:boxplot

  sns.boxplot(x='',y='',hue='',data=df)

 

二、提琴图:violinplot

  sns.violinplot(x='',y='',hue='',data=df)

 

三、因子图:factorplot

  sns.factorplot(x='',y='',hue='',data=df.size=10)

 

四、回归图:lmplot

  sns.lmplot(x='',y='',hue='',data=df.query(),row='',order=2)

 

五、热力图:heatmap

  sns.heatmap(df,annot=True)

 

posted @ 2019-09-16 22:19  記忆流年  阅读(186)  评论(0)    收藏  举报