multipanel

Solid

Assemble multiple plots into ONE publication-ready multi-panel journal figure (e.g. Figure 1 with panels A, B, C). Use whenever the user asks to combine, compose, or lay out several plots as a single composite figure — newly plotted from data or from already-rendered panels the user supplies (PNG/PDF). Ask the user to pick one of two approaches: (1) redraw every panel into one unified figure using independent, tightly packed `subfigures` (each sized to its own labels, so axes need NOT align), consistent style, correctly placed panel letters, and per-panel legends/colorbars; (2) composite already-rendered PNG/PDF panels onto a mosaic canvas and add panel letters (image compositing, not plotting). Both export vector PDF + high-DPI PNG. For a SINGLE plot from a data table, use the sibling `omics-plotting` skill instead.

AI & Automation 362 stars 36 forks Updated 1 weeks ago NOASSERTION

Install

View on GitHub

Quality Score: 81/100

Stars 20%
85
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# multipanel ## Overview A multi-panel figure is **one** figure, built one of two ways depending on what you have: - **Option 1 — redraw every panel** (you have the data or plotting code): draw each data panel with a python script into its **own `subfigure`** so it packs to its own labels — no empty bands, and axes need NOT align across the grid. Follow the discipline below so legends stay inside their panels, panel letters sit at each panel's own top-left, and text never overlaps. - **Option 2 — composite finished images** (you only have rendered PNG/PDF panels): paste them onto a `plt.subplot_mosaic` canvas — fine here, since images carry no tick labels to misalign — add panel letters, and export. A mix is allowed: if one or two panels are image-only (no data/code), `imshow` them onto their own subfigure axes and redraw the rest into the same figure. Both modes export a vector PDF and a high-DPI PNG. **Always export the individual panels AND the composite.** Every run outputs both: one standalone figure per panel (`figure1A.png`, `figure1B.png`, …) and the combined figure (`combined_figure1.pdf` + `.png`) — not just the composite. Because a matplotlib `subfigure` cannot be saved on its own, factor every data panel's plotting body into a `draw_<letter>(ax)` function (option 1); the same function then draws onto the composite's subfigure axis AND onto a fresh standalone figure, so the panels stay identical across both outputs with no duplicated drawing code. ...

Details

Author
jaechang-hits
Repository
jaechang-hits/SciAgent-Skills
Created
6 months ago
Last Updated
1 weeks ago
Language
Python
License
NOASSERTION

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

API & Backend Solid

omics-plotting

omics-plotting: publication-style figure authoring for omics / bioinformatics results with matplotlib / seaborn. Read this before writing any plotting or figure code in any omics analysis — RNA-seq, proteomics, single-cell, variant, or database results — not only when a plot is explicitly requested: whenever an analysis will produce a figure, load this first and follow its recipes. Covers volcano, MA, expression / correlation heatmap, GSEA bar / dot plot, box / violin / bar / ridgeline, PCA / UMAP / t-SNE scatter, Kaplan–Meier, Manhattan / QQ / forest. Supplies a shared journal-ready style and copy-paste recipes so every figure looks like one consistent system. To combine several plots into ONE multi-panel composite figure, use the sibling `multipanel` skill.

362 Updated 1 weeks ago
jaechang-hits
AI & Automation Listed

figure-composer

Compose one publication-grade multi-panel figure. Entry from a one-line claim + data refs, OR from an existing figure via `derive_outline_task(png)`. Runs a per-figure loop: outline (12-col grid, per-panel ask + label_budget) → fan-out one Task subagent per panel (each loads `figure-style`) → tile + stamp letters → adversarial composite review with two-tier feedback (Tier-1 outline_revisions / Tier-2 per-panel violations) → regen affected panels, ≤3 rounds. Kernel exposes panel_task / compose_figure / compose_crops / composite_review_task / derive_outline_task / finalize_outline (import by absolute path). For one standalone plot use `figure-style`; for whole-paper figure ordering use `paper-narrative`.

3 Updated 1 weeks ago
emaballarin
AI & Automation Solid

draw-the-source-figure-panel-for-panel

Use at study design when planning figures for a reproduction, replication or validation task, and again before the report is written. Covers deriving each panel's series list and axis ranges from the source's rendered figure, giving every source result a panel before your own hypotheses claim the slots, and printing the source's named constants as labelled values.

805 Updated 2 weeks ago
tangxiangru