Skip to content
Back to skills

Figure Grids

ASecurity

"Use seaborn grid objects and figure-level plot returns for facets,

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
designpythongobashdebuggingapi

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill figure-grids --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Figure Grids?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Figure Grids
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-figure-grids/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-figure-grids)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: figure-grids
description: "Use seaborn grid objects and figure-level plot returns for facets,
  pair/joint layouts, legend movement, axes access, and layout customization."
disable-model-invocation: true
metadata:
  disco-role: operating
license: BSD 3-Clause
---

# Figure Grids

Use this sub-skill when a task involves `FacetGrid`, `PairGrid`, `JointGrid`, `pairplot`, `jointplot`, or customizing a grid returned by `relplot`, `displot`, `catplot`, or `lmplot`.

## Route Here For

- Mapping functions over facets with `FacetGrid.map()` or `FacetGrid.map_dataframe()`.
- Pairwise variable grids with `PairGrid`, `pairplot`, and lower/upper/diagonal mappings.
- Joint and marginal plots with `JointGrid` and `jointplot`.
- Accessing `g.figure`, `g.axes`, `g.axes_dict`, `g.ax`, or `g.legend`.
- Resizing figure-level outputs, setting axis labels/titles, adding reference lines, and moving legends.
- Debugging `ax=` misuse with figure-level functions.

## Use Another Sub-skill For

- Choosing statistical plot function parameters: `../function-interface/SKILL.md`.
- Data shape/variable validation: `../data-utilities/SKILL.md`.
- Theme/palette decisions: `../themes-palettes/SKILL.md`.

## Start With

1. If the user names a figure-level function, capture its return (`g = sns.relplot(...)`) and customize `g`, not a preexisting `ax`.
2. Use `height` and `aspect` for seaborn figure-level sizing; use `g.figure.set_size_inches(...)` when exact final size matters.
3. Use `g.axes_dict` when facets have semantic keys and `g.axes.flat` for bulk axis iteration.
4. Use `sns.move_legend(g_or_ax, ...)` to recreate legends safely.
5. Save through `g.figure.savefig(...)` or `g.savefig(...)` when available.

## References

- Grid class and convenience API map: `references/api-reference.md`.
- Layout and customization recipes: `references/workflows.md`.
- Failure recovery: `references/troubleshooting.md`.

## Quick Smoke Check

```bash
python sub-skills/figure-grids/scripts/grid_smoke.py --output-dir /tmp/seaborn-grid-smoke
```

Files in this skill

  • SKILL.md2 KB
  • references/api-reference.md1.7 KB
  • references/troubleshooting.md933 B
  • references/workflows.md1.2 KB
  • scripts/grid_smoke.py1.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.