Skip to content
Kitbay
Skill

nature-figure

Apache-2.0Updated on Nov 19, 202654,246GitHub starsIncludes scripts

A skill from the nature-skills collection for making, revising, checking and exporting figures for scientific papers in Python with matplotlib and seaborn or in R with ggplot2, patchwork and ComplexHeatmap.

What the skill teaches

A skill from the nature-skills collection for making, revising, checking and exporting figures for scientific papers in Python with matplotlib and seaborn or in R with ggplot2, patchwork and ComplexHeatmap. It asks once which language to use and saves the choice, plans multi-panel figures around the main conclusion and its evidence, and runs bundled scripts that check the plotting code, panel alignment, text in the exported PDF and overlapping elements, followed by a visual check at final size. Separate routes cover AI-generated graphical abstracts through OpenRouter or GPT Image 2 and hand-drawn SVG schematics. Journal-specific rules for Nature and Nature Machine Intelligence apply only when that journal is the target.

Capabilities

  • Build multi-panel figures in Python or R
  • Check panel alignment and PDF text
  • Detect overlapping elements in exports
  • Generate graphical abstracts with an image API