关注于数据分析的小站

Plotting a three-way ANOVA

https://i2.wp.com/seaborn.pydata.org/_images/pointplot_anova.png?ssl=1


import seaborn as sns
sns.set(style="whitegrid")

# Load the example exercise dataset
df = sns.load_dataset("exercise")

# Draw a pointplot to show pulse as a function of three categorical factors
g = sns.catplot(x="time", y="pulse", hue="kind", col="diet",
                capsize=.2, palette="YlGnBu_d", height=6, aspect=.75,
                kind="point", data=df)
g.despine(left=True)

赞(1)
未经允许不得转载:0dayhub » Plotting a three-way ANOVA
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
%d 博主赞过: