My Python scripts to make high-quality figures for publications in top AI conferences and journals.
My Python scripts to make high-quality figures for publications in top AI conferences and journals.
I am Chen Liu (刘晨), a Computer Science PhD Candidate at Yale University.
This is a centralized repository of my own Python scripts for high-quality figures.
These figures are published at top venues, including Nature Machine Intelligence, ICML, NeurIPS, ECCV, etc. 🎉
Please feel free to cite any of these papers if you find them relevant or helpful. 🎓
在符合学术规范的前提下,欢迎大家狠狠引用。 🎓
These figures were made partially in Python. I included them to acknowledge the time and efforts I spent on them.
I want to show appreciation to my friend Shan Chen who suggested doing this.
The scientific figure making skill lives in scientific-figure-making/. Demo figures live in assets/. Project-specific scripts and outputs live in figure_*/.
scientific-figure-making/
├── SKILL.md # Quick reference: metadata, when to use, patterns, links
└── references/
├── api.md # API/conventions to implement (palette, helpers, export)
├── common-patterns.md # Reusable figure patterns
├── demos.md # Real-world figure_* projects (with URLs)
├── design-theory.md # Style rationale and design principles
└── tutorials.md # Step-by-step guidesYou can use this skill without installing anything: open this repo in your AI coding agent (e.g. Cursor, Claude Code, etc.) and reference the skill by path in your prompts. The agent reads scientific-figure-making/SKILL.md and the references/ files from the repo—no symlinks or plugins required.
Simple AI workflow
figure_PROJECT_NAME/).scientific-figure-making/SKILL.md and scientific-figure-making/references/design-theory.md.Prompt template (copy/paste)
Create a publication-quality figure script at <target_path>.
Use the Scientific Figure Making skill conventions from:
- scientific-figure-making/SKILL.md
- scientific-figure-making/references/design-theory.md
- scientific-figure-making/references/api.md (palette, helpers, export)
Implement or adapt the patterns (apply_publication_style, make_* helpers, finalize_figure). See figure_* folders for reference scripts.
Input data: <describe your data or paste arrays>.
Output files: <name>.png and <name>.pdf.
Keep the style consistent with this repository.From the repository root, run:
| Agent | Commands |
|---|---|
| Cursor | mkdir -p ~/.cursor/skills then ln -s "$(pwd)/scientific-figure-making" ~/.cursor/skills/scientific-figure-making |
| Claude Code | mkdir -p ~/.claude/skills then ln -s "$(pwd)/scientific-figure-making" ~/.claude/skills/scientific-figure-making |
| Codex | mkdir -p ~/.codex/skills then ln -s "$(pwd)/scientific-figure-making" ~/.codex/skills/scientific-figure-making |
Restart the agent (or refresh its skill list) after linking. You can then invoke or cite the skill by name in addition to using path-based references when the repo is open.
No open issues yet, or sync has not completed.