Lines in seaborn

What are these lines in seaborn plots? And why does some point have these lines and some don’t?

enter image description here

Here is the code:

# grid = sns.FacetGrid(train_df, col='Embarked') grid = sns.FacetGrid(train_df, row='Embarked', size=3.5, aspect=2.0) grid.map(sns.pointplot, 'Pclass', 'Survived', 'Sex', palette='deep') grid.add_legend() 

And here is the screen shot of the data used:

enter image description here

Pclass only has values: 1, 2, 3

Embarked has: ‘S’, ‘C’, ‘Q’

Sex: ‘female’, ‘male’

Survived: 1, 0

Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.