Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Intro to Seaborn!
You have completed Intro to Seaborn!
Preview
Now I'll challenge you to make a box plot and a violin plot!
Challenge
- For each Attribute, what is the distribution of:
- Attack Points?
- Defense Points?
Solution
sns.boxplot(data=monsters, x='Attack_Points', y='Attributes')
sns.violinplot(data=monsters, x='Attack_Points', y='Attributes')
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
In this challenge,
let's make some boxplots.
0:00
For each attribute,
0:01
what is the distribution of
the attack points and defense points?
0:03
Hint: use sns.boxplot.
0:08
Remember that you can adjust
the readability of the attributes
0:12
labels by plotting them along the y axis.
0:16
Pause me and try it out.
0:19
And when you're done,
I'll catch you on the other side.
0:21
How did it go?
0:26
Here are my solutions,
sns.boxplot(data=monsters,
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up