seaborn

Create statistical visualizations from pandas DataFrames using seaborn plotting functions.

Updated Feb 27, 2026
One-click install
npx skills add https://github.com/gracefullight/cnn --skill seaborn-gracefullight
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: seaborn
Source: https://github.com/gracefullight/cnn/tree/main/.agents/skills/seaborn
Command: npx skills add https://github.com/gracefullight/cnn --skill seaborn-gracefullight

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Choosing the right statistical plot and configuring matplotlib by hand is slow and error-prone. This Skill provides structured guidance for building distribution plots, categorical comparisons, regression fits, heatmaps, and multi-panel figures directly from DataFrames with seaborn. ## Core Features & Use Cases - Full plotting function coverage: Relational, distribution, categorical, regression, and matrix plots, plus FacetGrid, PairGrid, and JointGrid for multi-panel layouts. - Modern objects interface: Declarative, composable API via seaborn.objects for layered visualizations with marks, stats, moves, and scales. - Theming and palettes: Publication-ready styles, contexts, and qualitative/sequential/diverging color palettes. - Use Case: Given a tips dataset, generate a faceted violin plot comparing total bills across days split by sex, styled for publication and exported as a 300 DPI PDF. ## Quick Start Use the seaborn skill to create a correlation heatmap with annotations from my DataFrame and save it as a high-resolution PNG.

Frequently Asked Questions about seaborn

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

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

Use sns.heatmap() with a 2D DataFrame or array, setting annot=True and fmt to display cell values. For correlation matrices, pass df.corr() with cmap='coolwarm' and center=0 for a diverging colormap centered on zero.

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

Axes-level functions like scatterplot and boxplot draw on 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.

Seaborn vs matplotlib: when should I use each?▼

Seaborn is built on matplotlib and suits statistical plots with DataFrames, automatic aggregation, and attractive defaults. Use matplotlib directly for low-level control, then combine both since seaborn axes accept standard matplotlib customization.

Does seaborn support long-form and wide-form data?▼

Seaborn prefers long-form tidy data where each variable is a column and each observation is a row. Wide-form data works for heatmaps and simple plots, and df.melt() converts wide data to long format.

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

The KDE bandwidth controls smoothness. Adjust it with the bw_adjust parameter: values below 1 produce a less smooth curve, while values above 1 produce a smoother estimate.

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

Use seaborn.objects for complex layered visualizations, fine-grained control over transformations, and programmatic plot generation. The function interface remains better for quick exploratory analysis and single-purpose plots.