PlottersSkill for VS CodeGenerate charts from natural language via Powered by the Rust plotters crate with a matplotlib pyplot-like API.
|
| Feature | Description |
|---|---|
| Chart History | Gallery sidebar in Explorer — browse, re-render, or delete past charts |
| Edit Script | One-click button opens the generated TypeScript with a "▶ Render Chart" CodeLens |
| LLM Verification | Charts are verified against the original request; mismatches trigger automatic retry |
| Inline Errors | Type-check and runtime errors shown in chat during retries |
| Feedback Tracking | 👍/👎 on chat responses tracked for stats (PlottersSkill: Show Feedback Stats) |
| Notebook Support | *.plotters-notebook files — TypeScript cells execute with inline PNG output |
| Render from Editor | PlottersSkill: Render Chart from Active Editor — run any .ts script directly |
| Configurable | Settings for retry count, VM timeout, preferred model, and source visibility |
Chart Types
| Chart | figure() |
axes() |
|---|---|---|
| Histogram | ✅ | — |
| Pie / Donut | ✅ | — |
| Box Plot | ✅ | — |
| Area (fillBetween) | ✅ | ✅ |
| Candlestick (OHLC) | ✅ | — |
| Line | ✅ | ✅ |
| Scatter | — | ✅ |
| Bar | — | ✅ |
| Step | — | ✅ |
AI Skill Installation
The bundled SKILL.md can be installed into any project so Copilot, Claude, or
other AI tools automatically discover the plotters-skill API:
npx plotters-skill install-skill # all tools
npx plotters-skill install-skill --target copilot # .github/skills/plotters-skill/
npx plotters-skill install-skill --target claude # .claude/skills/plotters-skill/
Settings
| Setting | Default | Description |
|---|---|---|
plotters-skill.maxRetries |
3 | Type-check / verification retry limit |
plotters-skill.vmTimeout |
10000 | Script execution timeout (ms) |
plotters-skill.preferredModel |
gpt-4o | Copilot LLM model family |
plotters-skill.showSource |
false | Auto-expand generated TypeScript in chat |
License
MIT