seaborn
Skill by davila7
Seaborn is a Python skill for statistical visualization. It creates scatter, box, violin, heatmap, pair, regression, and KDE plots from DataFrames. It suits exploratory analysis and publication figures.
Install seaborn
Built from the published package, never by AI.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/seaborn ~/.claude/skills/seabornRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/seaborn ~/.gemini/antigravity-cli/skills/seabornAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill teaches an assistant to use seaborn, a Python visualization library for statistical graphics. It works directly with DataFrames and named variables, maps data values to colors, sizes and styles, and performs built-in aggregation and confidence interval estimation.
The skill covers two interfaces. The function interface offers axes-level functions that draw to a single plot and figure-level functions that manage faceting. The objects interface offers a declarative, chained API similar to ggplot2. The guide also covers grid objects such as FacetGrid, PairGrid and JointGrid, data structure requirements, and color palettes. It is aimed at Python users doing exploratory data analysis or preparing publication-ready figures.
Written from the project's SKILL.md and checked against it.
What it can do
- Relational plotsDraws scatter and line plots with hue, size and style mappings and faceting.
- Distribution plotsCreates histograms, KDE, ECDF, rug, joint and pair plots for distributions.
- Categorical plotsMakes strip, swarm, box, violin, bar, point and count plots for category comparisons.
- Regression plotsFits regression lines with regplot and lmplot and plots residuals with residplot.
- Matrix plotsBuilds annotated heatmaps and hierarchically clustered heatmaps from matrices.
- Multi-plot gridsUses FacetGrid, PairGrid and JointGrid for complex multi-panel figures.
- Objects interfaceBuilds layered plots with a declarative, chained API using seaborn.objects.
- Color palettesSelects qualitative and sequential palettes suited to different data types.
What you need
- Python
Try asking
- Make a scatter plot of total_bill vs tip from the tips dataset, colored by day.
- Create a correlation heatmap with annotations for my DataFrame.
- Build a faceted box plot of total_bill by day, split into columns by time.
Good to know
- Figure-level functions cannot be placed in an existing figure.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: cli-tool/components/skills/scientific/seaborn/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md19 KB -
references/examples.md17 KB -
references/function_reference.md24 KB -
references/objects_interface.md20 KB
Alternatives to seaborn
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
seaborn: common questions
What is the difference between figure-level and axes-level seaborn functions?
Axes-level functions draw to a single matplotlib Axes and accept an ax parameter. Figure-level functions manage the whole figure and offer built-in faceting through col and row.
Does seaborn work with pandas DataFrames?
Yes. The source says seaborn works directly with DataFrames and named variables, and it prefers long-form data where each variable is a column.
What is the seaborn objects interface?
The seaborn.objects interface is a declarative, composable API similar to ggplot2. You build plots by chaining methods that set data mappings, marks, transformations and scales.
How do I install seaborn?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is seaborn free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is seaborn safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to seaborn?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
