Facets

Facets split a chart into several identical small charts, one per category of a variable (col=, row=), with the same axes for comparison. They are obtained with figure-level functions (relplot, catplot, displot) or FacetGrid. They avoid overloading a single chart.

Example

sns.relplot(data=df, x='mois', y='ca', col='region', kind='line')

Related concepts

The whole glossary