# Hist2d Plot

> Create a 2D histogram using chroptiks.hist2d.plot and save it to a file. Accepts x and y arrays plus optional color-code array as JSON.

- Skill: `npc-worldwide/hist2d-plot` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add npc-worldwide/hist2d-plot`
- Raw SKILL.md: https://api.skillmd.com/api/skills/npc-worldwide/hist2d-plot/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/hist2d-plot

---


# hist2d_plot

Create a 2D histogram using chroptiks.hist2d.plot and save it to a file. Accepts x and y arrays plus optional color-code array as JSON.

## Inputs

- `data_json` (default: `'{"x": [], "y": []}'`)
- `kwargs_json` (default: `'{}'`)
- `output_path` (default: `'hist2d.png'`)

## Steps

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

## Usage

```
/run_jinx jinx_ref=hist2d_plot input_values={"data_json": "{\"x\": [], \"y\": []}", "kwargs_json": "{}", "output_path": "hist2d.png"}
```

