seaborn
Installation
SKILL.md
Seaborn
Seaborn is a high-level wrapper around Matplotlib. It makes statistical plots (violins, heatmaps, pairs) easy.
When to Use
- Statistical Data Visualization: Producing clear distribution plots, regression curves, and correlation heatmaps.
- Multi-Plot Categorical Comparisons: Visualizing complex distributions with
boxplot,violinplot, andcatplot. - Modern Object Interface (sns.objects): Clean grammar of graphics visualization inspired by ggplot2.
- Pairwise Feature Exploration: Rapidly identifying variable correlations and cluster separations with
pairplot.
Quick Start
import seaborn as sns
import matplotlib.pyplot as plt
# Load sample dataset and plot regression with confidence interval
tips = sns.load_dataset("tips")