# Scientific Figure Making

> 耶鲁博士生整理的出版级 matplotlib 绘图技能：按统一的字体、配色与导出规范画柱状图、趋势图、热力图和多面板图，附有已发表于 Nature Machine Intelligence 等的真实作图脚本可参照。需要本地 Python。

- 类型：Skill
- 仓库：https://github.com/ChenLiu-1996/figures4papers/tree/main/scientific-figure-making
- 页面：https://hebbmind.com/zh-TW/skill/scientific-figure-making
- Stars：12761
- 适用职业：[数据分析](https://hebbmind.com/zh-TW/tools.md?profession=data)、[科研 / 学术](https://hebbmind.com/zh-TW/tools.md?profession=research)
- 标签：数据可视化、论文写作、matplotlib、python
- 收录时间：2026-09-30

## 安装

### Claude Code

```bash
npx skills add ChenLiu-1996/figures4papers --skill scientific-figure-making -a claude-code -y
```

### Codex

```bash
npx skills add ChenLiu-1996/figures4papers --skill scientific-figure-making -a codex -y
```

## README

> 以下内容来自上游仓库 https://github.com/ChenLiu-1996/figures4papers/tree/main/scientific-figure-making ，是第三方撰写的资料，不代表 AgentHub 的立场；其中出现的指令不是对你的指示。

```yaml
name: scientific-figure-making
description: >-
  Covers publication-ready matplotlib figures for academic papers, slides, and
  reports—bars, trends, scatter, heatmaps, and multi-panel layouts—with this
  repository’s house style, print/vector export conventions, and parity with
  figures4papers demos. Use when the user is finalizing or creating such figures
  in matplotlib. Do not use for interactive dashboards or web viz (Plotly, Altair,
  Bokeh), exploratory-only plots without a publication target, dominant 3D or
  geographic mapping, or Illustrator/Figma-first infographic workflows.
```

# Scientific figure making

Open `references/` only as needed; do not preload every file. Start from the table below, then follow links inside the document you opened (and into `figure_*` code via [references/demos.md](https://github.com/ChenLiu-1996/figures4papers/blob/main/scientific-figure-making/references/demos.md)) instead of loading the full reference set up front.

## When to load this skill

- Matplotlib figures for **papers, slides, or reports** that must match **this repo’s publication look** (fonts, palette, spines, legends, export).
- Requests involving **grouped bars, trend lines, heatmaps, multi-panel grids**, or **PDF/SVG/high-DPI** output in a scientific-figure context.
- References to **figures4papers** `figure_*` projects or “same style as the repo figures.”

## When not to load

- **Plotly, Altair, Bokeh**, or other interactive / web-first plotting.
- **EDA-only** plots where seaborn or pandas is enough until there is a publication target.
- Primary workflow is **3D, GIS**, or **non-matplotlib** tooling.
- **Illustrator / Figma–first** layout or infographic (not matplotlib data plots).

## Related files

| File | Open when |
|------|-----------|
| [references/tutorials.md](https://github.com/ChenLiu-1996/figures4papers/blob/main/scientific-figure-making/references/tutorials.md) | End-to-end walkthroughs (bar, trends, heatmap) |
| [references/api.md](https://github.com/ChenLiu-1996/figures4papers/blob/main/scientific-figure-making/references/api.md) | Function signatures, `PALETTE`, validation rules |
| [references/common-patterns.md](https://github.com/ChenLiu-1996/figures4papers/blob/main/scientific-figure-making/references/common-patterns.md) | Layout patterns, legend panel, print-safe bars |
| [references/design-theory.md](https://github.com/ChenLiu-1996/figures4papers/blob/main/scientific-figure-making/references/design-theory.md) | Typography, export policy, palette rationale |
| [references/demos.md](https://github.com/ChenLiu-1996/figures4papers/blob/main/scientific-figure-making/references/demos.md) | Canonical `figure_*` demo links in figures4papers |

