Worked examples of multi-component, domain-specific plots — annotated heatmap layouts, genome browser tracks, and similar substantial recipes that compose custom artists with plotlet's layout algebra.
Requirements: pip install plotlet. (These recipes use only core plotlet —
no separate install needed.)
The cookbook is intentionally small. Each recipe earns its directory by
needing ancillary material (sample data, baselines, helper logic) and
demonstrating non-obvious composition, custom artists, or coordinate
patterns (e.g. circle/ shows non-affine coordinates via
post-render SVG warping). Each recipe is self-contained — browse the
subdirectories directly; there is no central index.
- Copy the recipe folder into your project.
- Register any custom artists with
pt.add_artist(pt.ArtistSpec(...))— seedocs/EXTENDING.mdfor the full API. - Adjust styling, data shape, and details for your use case.