langchain-ai avatar

Data Visualization

This handles all your matplotlib and seaborn charting in Claude's headless GPU environment. It automatically configures the Agg backend so plots actually render, sets publication quality defaults at 300 DPI, and includes a colorblind safe palette out of the box. The skill doc gives you copy paste templates for the usual suspects: bar charts, line plots, scatter plots with both continuous and categorical coloring, heatmaps, histograms with KDE overlays, and box plots. The multi panel layout option is clutch for analysis summaries where you want everything in one image. One thing to remember is you must call read_file on every saved PNG or the user won't see it inline. Solid if you're tired of fighting matplotlib configuration every time.

skills.sh installs
272
GitHub stars
31.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add langchain-ai/deepagents --skill data-visualization --agent claude-code

Installs into .claude/skills of the current project.

Files

Data Visualization Skill

Create publication-quality analytical charts using matplotlib and seaborn in a headless GPU sandbox. Charts are saved as PNG files to /workspace/ for retrieval.

When to Use This Skill

Use this skill when:

  • Visualizing results from cuDF analysis or cuML models
  • Creating charts (bar, line, scatter, heatmap, histogram, box plot)
  • Building multi-panel analysis summaries
  • The user asks for visual output, plots, graphs, or charts
  • Presenting statistical findings with figures

Initialization (REQUIRED)

MUST call matplotlib.use('Agg') BEFORE importing pyplot. This enables headless rendering.

import matplotlib
matplotlib.use('Agg')  # Headless backend — MUST be before pyplot import
import matplotlib.pyplot as plt
import numpy as np

# Publication-quality defaults
plt.rcParams.update({
    'figure.dpi': 100,
    'savefig.dpi': 300,
    'font.size': 11,
    'axes.labelsize': 12,
    'axes.titlesize': 14,
    'xtick.labelsize': 10,
    'ytick.labelsize': 10,
    'legend.fontsize': 10,
    'figure.constrained_layout.use': True,
})

Sponsors

Details

Repository
github.com/langchain-ai/deepagents
Categories
Code Review & Quality, AI & Agent Building, Data Science & ML, Design & UI/UX
First seen
Jun 3, 2026

More from langchain-ai/deepagents

All 12
1patricio0312rev avatarevaluation-harnesspatricio0312rev/skillsBuilds repeatable evaluation systems with golden datasets, scoring rubrics, pass/fail thresholds, and regression reports. Use for "LLM evaluation", "testing AI 272skills.sh installs
2pproenca avatarios-tastepproenca/dot-skillsDesigns iOS 18+ SwiftUI experiences with real taste — starting from user goals, not pixels. Use this skill whenever the user asks you to build SwiftUI views, sc272skills.sh installs
3rysweet avatarcomputer-scientist-analystrysweet/amplihackAnalyzes events through computer science lens using computational complexity, algorithms, data structures, systems architecture, information theory, and softwar272skills.sh installs
4sipengxie2024 avataracademic-writing-cssipengxie2024/helios-writingComprehensive toolkit for writing high-quality computer science research papers (conference, journal, thesis). Provides narrative construction guidance, sentenc272skills.sh installs
5sundial-org avatarn8n-workflow-automationsundial-org/awesome-openclaw-skillsDesigns and outputs n8n workflow JSON with robust triggers, idempotency, error handling, logging, retries, and human-in-the-loop review queues. Use when you nee272skills.sh installs
6vercel avatarnext-forgevercel/next-forgeExpert assistance for next-forge — a production-grade Turborepo template for Next.js SaaS apps. Triggers on questions about next-forge installation, setup, arch272skills.sh installs