# Savefig

> Save the current matplotlib figure to a file path with chroptiks defaults (png, 250 dpi, tight bounding box). Returns the absolute path.

- Skill: `npc-worldwide/savefig` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add npc-worldwide/savefig`
- Raw SKILL.md: https://api.skillmd.com/api/skills/npc-worldwide/savefig/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: npc-worldwide (https://skillmd.com/u/npc-worldwide)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/npc-worldwide/savefig

---


# savefig

Save the current matplotlib figure to a file path with chroptiks defaults (png, 250 dpi, tight bounding box). Returns the absolute path.

## Inputs

- `output_path` (default: `'figure.png'`)
- `dpi` (default: `'250'`)
- `format` (default: `'png'`)

## Steps

- `save_figure` → [`save_figure.py`](./save_figure.py)

## Usage

```
/run_jinx jinx_ref=savefig input_values={"output_path": "figure.png", "dpi": "250", "format": "png"}
```

