Figures4papers
My Python scripts to make high-quality figures for publications in top AI conferences and journals.
Install / Use
/learn @ChenLiu-1996/Figures4papersREADME
Figures for Papers
</div>This is a centralized repository of my own Python scripts for high-quality figures.
I am Chen Liu, a Computer Science PhD Candidate at Yale University.
Bar plots for quantitative comparison
<img src="figure_ImmunoStruct/figures/bars_comparison_IEDB.png" width="800"> <img src="figure_CellSpliceNet/figures/comparison.png" width="800">Bar plots for composition breakdown
<img src="figure_brainteaser/figures/brute_force.png" width="800">Trend plots
<img src="figure_ophthal_review/figures/trend_by_month.png" width="800">Heat maps
<img src="figure_RNAGenScape/figures/results_comparison_optimization.png" width="800">3D spheres
<img src="figure_Dispersion/figures/illustration.png" width="800">Miscellaneous: figures not made end-to-end in Python
These figures were made partially in Python. I included them to acknowledge the time and efforts I spent on them.
<img src="assets/ImmunoStruct_schematic.png" width="400"><img src="assets/ImmunoStruct_contrastive.png" width="400"> <br><img src="assets/ImmunoStruct_results_IEDB.png" width="400"><img src="assets/ImmunoStruct_results_CEDAR.png" width="400"> <br><img src="assets/RNAGenScape_schematic.png" width="400"><img src="assets/Dispersion_motivation.png" width="400"> <br><img src="assets/Dispersion_observation.png" width="400"><img src="assets/Dispersion_observation_distillation.png" width="400">
<br>LLM skill integration (some credits to my friend Shan Chen)
The scientific figure making skill lives in scientific-figure-making/. Demo figures live in assets/. Project-specific scripts and outputs live in figure_*/.
Skill folder hierarchy
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 guides
Using this skill in an AI coding agent
<details> <summary><strong>No installation (path-based)</strong></summary>You 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
- Open this repository in your AI coding agent (e.g. Cursor).
- Ask the AI to create or update a plotting script in your target folder (for example
figure_PROJECT_NAME/). - In your prompt, explicitly ask it to follow
scientific-figure-making/SKILL.mdandscientific-figure-making/references/design-theory.md. - Run the generated script and check the exported figure.
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.
</details>
<details>
<summary><strong>Install as a skill (symlink)</strong></summary>
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.
</details>Related Papers
<details> <summary>ImmunoStruct</summary>@article{givechian2026immunostruct,
title={ImmunoStruct enables multimodal deep learning for immunogenicity prediction},
author={Givechian, Kevin Bijan and Rocha, Jo{\~a}o Felipe and Liu, Chen and Yang, Edward and Tyagi, Sidharth and Greene, Kerrie and Ying, Rex and Caron, Etienne and Iwasaki, Akiko and Krishnaswamy, Smita},
journal={Nature Machine Intelligence},
volume={8},
pages={70--83},
year={2026},
publisher={Nature Publishing Group UK London}
}
</details>
<details>
<summary>Dispersion</summary>
@article{liu2026dispersion,
title={Dispersion Loss Counteracts Embedding Condensation and Improves Generalization in Small Language Models},
author={Liu, Chen and Sun, Xingzhi and Xiao, Xi and Van Tassel, Alexandre and Xu, Ke and Reimann, Kristof and Liao, Danqi and Gerstein, Mark and Wang, Tianyang and Wang, Xiao and others},
journal={arXiv preprint arXiv:2602.00217},
year={2026}
}
</details>
<details>
<summary>RNAGenScape</summary>
@article{liao2025rnagenscape,
title={RNAGenScape: Property-Guided, Optimized Generation of mRNA Sequences with Manifold Langevin Dynamics},
author={Liao, Danqi and Liu, Chen and Sun, Xingzhi and Tang, Di{\'e} and Wang, Haochen and Youlten, Scott and Gopinath, Srikar Krishna and Lee, Haejeong and Strayer, Ethan C and Giraldez, Antonio J and others},
journal={arXiv preprint arXiv:2510.24736},
year={2025}
}
</details>
<details>
<summary>brainteaser</summary>
@article{han2025creativity,
title={Creativity or Brute Force? Using Brainteasers as a Window into the Problem-Solving Abilities of Large Language Models},
author={Han, Simeng and Dai, Howard and Xia, Stephen and Zhang, Grant and Liu, Chen and Chen, Lichang and Nguyen, Hoang Huy and Mei, Hongyuan and Mao, Jiayuan and McCoy, R. Thomas},
journal={Advances in neural information processing systems},
year={2025}
}
</details>Related Skills
claude-opus-4-5-migration
109.7kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
model-usage
349.7kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
TrendRadar
51.0k⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
mcp-for-beginners
15.8kThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
