Skip to content
Untitled Python workspace
import seaborn as sns
# Load example data
tips = sns.load_dataset("tips")
# Create a FacetGrid with 3 columns and wrap after that
g = sns.FacetGrid(tips, col="sex", col_wrap=10)
# Map a plot onto each subplot
g.map(sns.scatterplot, "total_bill", "tip")