Skip to content

Fignimble 0.3.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 02:57
· 7 commits to main since this release

Fignimble 0.3.0 comes from rebuilding a 37-panel Nature figure (lettered a to ak) from the authors' Python code.

Panels that need other packages

  • A project can list the packages its panels import (pandas, seaborn, statsmodels…) in a requirements.txt. When the project opens, Fignimble offers to install the missing ones into its Python with pip, then redraws the figure. It does the same for packages Fignimble itself needs. Fignimble ▸ Check Packages… asks again.
  • A panel that fails because a module is missing says what to do.
  • @cached("data/table.csv"), from fignimble, keeps slow work that several panels share (loading data, fitting models). It is kept until the function's file, its arguments or the listed data change.
  • Panels' Python warnings are no longer printed. They are kept with each panel, and fignimble info lists them.

Pictures and schematics

  • PDF and SVG pictures can be mirrored, and stay vector.
  • SVGs styled with a style sheet, as Illustrator exports them, are drawn in their colours instead of solid black. This includes many BioCartoon icons.
  • A rectangle can carry a panel letter (label="auto"), for schematics drawn from shapes and icons.

Letters and preflight

  • A picture that fails to render keeps its letter, so the panels after it are no longer relettered.
  • Superscripts and subscripts (Agg⁺, CD8ₐ) no longer count as text below the minimum size, including in rotated tick labels.
  • Math text in panels is drawn in the figure's font instead of DejaVu Sans.

Download Fignimble-0.3.0-macOS.dmg: signed and notarized, for Apple Silicon and Intel.