Skip to content

FigMirror

An Automated AI Agent Tool for Plotting Your Data in Any Paper's Figure Style.

Install

$git clone https://github.com/VILA-Lab/FigMirror

Install command taken from the project's README or registry entry. Always review code before running it.

FigMirror: Plot Your Data in Any Paper's Style. Pick a reference figure, paste your data, and get an editable matplotlib script plus a camera-ready PDF.

Paper & Results | Showcase | Milestones | Quick Start | How It Works | Star History | Method | Contribute

English | 中文

🔥 Milestones

  • Jun 1, 2026 — FigMirror release: shipped FigMirror as Claude Code and Codex skills, with a local Web UI for upload, iteration browsing, and refinement.
  • Jun 17, 2026 — Algorithm update: refined the Codex path with role-separated Drawer / Reviewer agents, far-near visual review views, reviewer bounding boxes, and annotated feedback passed into the next iteration.
  • Jul 1, 2026 — Evaluation update: built an internal hybrid style scorer for repeatable method comparison.
  • Aug 17, 2026 — Claude Code parity: ported the production role-separated loop to Claude Code with the same decision state machine and bounded iteration contract.
  • Aug 28, 2026 — arXiv preprint: released FigMirror: Ground It, Code It, Plot It, introducing PlotTwin-Bench and the paper's benchmark results.

📝 Paper & Results

Our arXiv preprint, FigMirror: Ground It, Code It, Plot It (August 28, 2026), introduces PlotTwin-Bench for reference-conditioned scientific-figure style transfer.

The paper reports a 150-instance evaluation subset: all 50 hand-curated references and 100 randomly sampled augmented references. FigMirror achieves the highest combined score on both splits: 72.7 on hand-curated references and 76.4 on augmented references. The splits are reported separately, and all methods in this comparison use GPT-5.5.

PlotTwin-Bench is on the Hugging Face Hub at figmirror/PlotTwin-Bench. The default bench config holds the 150 evaluation tasks, and full holds all 399 references.

Main results. PlotTwin-Bench comparison by code, vision, and combined scores. FigMirror achieves the highest combined score on both the hand-curated and augmented reference splits.

Qualitative comparison. Each group shows the reference, FigMirror, and four baselines on the same target data. Group A tests a dense multi-panel composition; Group B tests a joint hexbin plot with marginal histograms.

Showcase

FigMirror uses a reference figure as the style target, then renders your data through an iterative Drawer / Reviewer loop until the output looks like it belongs in the same paper family.

No high-quality reference at hand? Start from 139 paper figures across 25 chart families.

Quick Start

Install With Your Claude / Codex

Already inside Claude Code or Codex? Paste this and let the agent do the setup:

Install FigMirror for me: https://github.com/VILA-Lab/FigMirror

Web UI

Similar plugs

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…

Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create prototypes, websites, apps, dashboards, presentations, images, and videos with your team…

Explore related