scientific-figures

Review and produce publication-ready figures, tables, equations, and algorithm listings for scientific manuscripts.

Updated Oct 7, 2022
One-click install
npx skills add https://github.com/tamagusko/linux-cfg --skill scientific-figures-tamagusko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scientific-figures
Source: https://github.com/tamagusko/linux-cfg/tree/main/dotfiles/claude/skills/scientific-figures
Command: npx skills add https://github.com/tamagusko/linux-cfg --skill scientific-figures-tamagusko

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires matplotlib, pandas, pillow, pymupdf, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Manuscript figures often fail peer review because they are unreadable in greyscale, inconsistent with the data or captions, or stylistically mismatched across the paper. This Skill audits or produces every visual element of a scientific paper so each figure is accurate, legible at print size, and part of one coherent design system. ## Core Features & Use Cases - Review mode: Audits equations, figures, tables, and algorithm listings against the manuscript source, plotting scripts, and data files, then delivers a structured report separating must-fix contradictions from presentation issues. - Production mode: Runs a three-phase workflow (narrative audit, design system, production) with approval gates, generating reproducible matplotlib scripts, vector schematics, captions, and a design log. - Automated quality gates: Bundled scripts check float references and captions in LaTeX, table formatting, text size at print width, palette lightness gaps, greyscale survival, and cross-figure set consistency. - Use Case: Before submitting a journal paper, ask for a review of its figures; the Skill compiles the manuscript, verifies each plotted value against its data source, flags a caption that names a different model variant than the script plots, and reports which figures fail greyscale printing. ## Quick Start Ask the assistant to review the figures, tables, and equations in your manuscript folder and report which ones need fixing before submission.

Frequently Asked Questions about scientific-figures

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if my matplotlib figures survive greyscale printing?

Run palette_check.py on your figure colours to measure the smallest pairwise CIE L* lightness gap, which must be at least 20 units. Then run greyscale_preview.py with your print width in millimetres to render the figure as a photocopy would and visually confirm every series stays identifiable.

How to audit a LaTeX manuscript for figure and table problems?

Run float_audit.py on your main.tex file to list every figure, table, algorithm, and equation in reading order. It flags unreferenced floats, floats appearing before their first reference, missing labels, raster graphics, resizebox on tables, and captions that are too long or contain em-dashes.

When should scientific figures use colour instead of greyscale?

Colour is justified only under five exceptions: a second variable encoded on the same mark, a diverging scale with a meaningful zero, an overlay on a photograph, a map, or a venue requirement. Model variants, ordered phases, and bar categories are not exceptions and should use line styles, hatching, or lightness steps.

What is the maximum number of line styles in one plot?

Four line styles per axes is the limit, matching the four-entry cycle in the bundled paper.mplstyle. With five or more series, use direct labels at the line ends via figstyle.label_lines, split into panels sharing axes, or move series to supplementary material.

Does this skill work for presentation slides or posters?

No, slides and posters follow a different projected, colour-tolerant regime and belong to separate skills. This skill targets printed publication figures for journals and deliverables where greyscale legibility and exact print widths matter.

Why does my figure text become unreadable after submission formatting?

Figures designed at a large size and scaled down to a 90 mm column shrink text below the 7 pt minimum. Design at the final print width from the start and verify with text_size_check.py, which reports the smallest text after scaling.