seaborn

Create statistical visualizations from pandas DataFrames using seaborn plotting functions.

Updated Sep 2, 2026
One-click install
npx skills add https://github.com/ricfulop/cba-agentic-engineering-bootstrap --skill seaborn-ricfulop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: seaborn
Source: https://github.com/ricfulop/cba-agentic-engineering-bootstrap/tree/main/skills/seaborn
Command: npx skills add https://github.com/ricfulop/cba-agentic-engineering-bootstrap --skill seaborn-ricfulop

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Choosing the right statistical plot and writing correct seaborn code from memory is slow and error-prone, especially when handling distributions, categorical comparisons, regressions, and multi-panel figures. ## Core Features & Use Cases - Full plotting coverage: Relational, distribution, categorical, regression, and matrix plots (scatterplot, histplot, boxplot, violinplot, heatmap, pairplot, and more) with correct parameter usage. - Two interfaces: Guidance for both the traditional function interface and the modern declarative seaborn.objects API for layered, composable plots. - Publication-ready output: Theming, color palettes, faceting, and export patterns for scientific figures. - Use Case: Given a DataFrame of experimental results, generate a faceted violin plot comparing treatments with confidence intervals, styled for a journal submission and saved as a 300 DPI PDF. ## Quick Start Use the seaborn skill to create a violin plot comparing response values across treatment groups from my data.

Frequently Asked Questions about seaborn

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

FAQPage Schema
How do I create a box plot or violin plot in seaborn?

Use sns.boxplot or sns.violinplot with a DataFrame, passing a categorical variable to x and a continuous variable to y. Add hue for subgroup comparison and split=True on violin plots to compare two groups side by side.

Seaborn vs matplotlib: which should I use for statistical plots?

Seaborn is built on matplotlib and provides dataset-oriented functions with automatic statistical aggregation, confidence intervals, and attractive defaults. Use seaborn for statistical exploration and matplotlib for low-level custom control; they integrate freely.

What is the difference between axes-level and figure-level seaborn 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 make a correlation heatmap in seaborn?

Compute the correlation matrix with df.corr(), then call sns.heatmap with annot=True, fmt='.2f', a diverging colormap like coolwarm, and center=0. Use a mask on the upper triangle to avoid duplicated values.

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 more jagged curve, values above 1 produce a smoother curve. The default bandwidth follows the scott method.

When should I use swarmplot versus stripplot?

Swarmplot positions points without overlap using a beeswarm algorithm, ideal for small datasets. For more than about 1000 points it becomes slow and crowded, so use stripplot with jitter instead.