spacr.figures¶
Build publication-ready spaCR panels and multi-panel figure sheets.
from spacr.figures import build_sheet, build_panel, figure_style
sheet = build_sheet(results) # every panel, as one figure sheet.figure.savefig(path) print(sheet.legend()) # the legend, generated from it
The shared palette and layout are derived from published apicomplexan figures.
Use spacr.figures.style for the style contract and
spacr.figures.panels for the panel catalog.