seaborn

Generate statistical visualizations in Python including scatter plots, heatmaps, violin plots, and faceted figures.

2|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/Nzettodess/Awesome-Agent-Skills --skill seaborn-nzettodess
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: seaborn
Source: https://github.com/Nzettodess/Awesome-Agent-Skills/tree/main/Skills/Charts/seaborn/seaborn
Command: npx skills add https://github.com/Nzettodess/Awesome-Agent-Skills --skill seaborn-nzettodess

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires seaborn, matplotlib, pandas, numpy, scipy, and includes references (resource) components.

What problem does it solve? Creating publication-quality statistical graphics in Python often requires extensive matplotlib boilerplate for aggregation, confidence intervals, faceting, and styling. This Skill provides structured guidance for using seaborn to produce exploratory and publication-ready visualizations with minimal code. ## Core Features & Use Cases - Full Plot Taxonomy: Covers relational, distribution, categorical, regression, and matrix plots, plus FacetGrid, PairGrid, and JointGrid for multi-panel figures. - Dual Interfaces: Documents both the traditional function interface and the modern declarative seaborn.objects API for layered, composable plots. - Statistical Awareness: Built-in aggregation, confidence intervals, KDE bandwidth control, and regression fitting with residual diagnostics. - Use Case: Given a DataFrame of experimental results, generate a faceted violin plot comparing treatment groups, a correlation heatmap, and a pairplot for exploratory analysis, then export publication-ready PDFs at 300 DPI. ## Quick Start Use the seaborn skill to create a correlation heatmap and a faceted scatter plot from my dataset and save them as high-resolution figures.

Frequently Asked Questions about seaborn

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a correlation heatmap in Python with seaborn?▼

Compute the correlation matrix with df.corr(), then pass it to sns.heatmap with annot=True, fmt='.2f', cmap='coolwarm', and center=0. Use numpy's triu to mask the upper triangle for a cleaner display.

What is the difference between seaborn axes-level and figure-level functions?▼

Axes-level functions like scatterplot and boxplot draw onto a single matplotlib Axes and accept an ax parameter. Figure-level functions like relplot, displot, and catplot manage entire figures with built-in faceting via col and row parameters.

How do I choose between boxplot, violinplot, and swarmplot in seaborn?▼

Use boxplot for quartile summaries, violinplot to show full distribution shape with KDE, and swarmplot to display every individual point without overlap. Swarmplot becomes slow beyond roughly 1000 points, so use stripplot for larger datasets.

Does seaborn work with pandas DataFrames?▼

Yes, seaborn is designed around pandas DataFrames in long-form (tidy) format where each variable is a column. Passing data with named x, y, and hue columns automatically produces labeled axes and legends.

Why is my seaborn KDE plot too smooth or too jagged?▼

The KDE bandwidth controls smoothness and is adjusted with the bw_adjust parameter. Values below 1 produce more jagged curves that follow the data closely, while values above 1 produce smoother curves.

When should I use the seaborn.objects interface instead of seaborn functions?▼

Use seaborn.objects for complex layered visualizations, programmatic plot generation, and fine-grained control over marks, stats, and scales. The function interface remains simpler for quick single-purpose exploratory plots.