Skip to content

Repository files navigation

plotlet

plotlet is a Python library for reproducible, multi-panel scientific figures, built for AI authorship: figures are written, inspected, and verified as data, not pixels. Byte-identical output across machines, a standard plotting vocabulary, built-in Cartesian and circular coordinate systems, and an easy way to add your own plot types.

Documentation

Online documentation is available at gitbamboo42.github.io/plotlet.

The docs include a tutorial, a plot-type reference, a cookbook, an extensions gallery, deep-dive guides, and a page for AI agents.

Dependencies

plotlet supports Python 3.10+.

Required: fonttools, scipy, resvg_py. numpy / pandas / polars inputs work transparently.

Optional: cairosvg for PDF export (pip install plotlet[pdf]).

Installation

pip install plotlet

For AI assistants

Tell your assistant to run plotlet's skill() and follow it. The guides, docs, and worked examples ship inside the installed package; the page for AI agents shows the full workflow.

Development

Development takes place on GitHub. Please submit bugs to the issue tracker with a reproducible example.

License

MIT