3.3.9. Exercises¶
Questions:
Suppose we create a scatter plot but find that due to the large number of points it’s hard to interpret. What are two things we can do to fix this issue?
Suppose that we create an n-by-n FacetGrid. How big can “n” get?
What are the two things about faceting which make it appealing?
When is
sns.pairplot
most useful?Redo the last graph on the customization page but instead, put the labels at the end of the lines. You can follow the code here. Email me if you succeed!
Answers
Q1
One way to fix this issue would be to sample the points. Another way to fix it would be to use a hex plot.
Q2
A matter of size and visibility, but 5x5 is probably as large as you want to go.
Q3
It’s an easy way to show info about additional variables of interest to a figure.
Q4
Especially useful when you’re exploring the dataset.