milia.plot#

Figures in two backends with one look: lets-plot (milia.plot.lets) and matplotlib (milia.plot.mpl).

Both backends expose the same figure functions, module by module (clusters, trust, agreement, represent, anomaly, recommend). Matplotlib figures use the publication house style of milia.plot.style (SciencePlots, serif type through LaTeX, the project palette); lets-plot figures use twiga’s theme with the same palette.

Requires pip install 'pundamilia[plots]'.

Modules

bind

Binding backend-independent figures to one drawing backend.

figures

Figures written once against a drawing backend (draw), bound per backend in lets and mpl.

labels

Sentence-case labels: every text a figure shows starts with a capital letter.

lets

Figures drawn with lets-plot, grouped by module (clusters, trust, agreement, ...).

mpl

Figures drawn with matplotlib in the house style, grouped by module (clusters, trust, ...).

style

Matplotlib house style for publication figures.

tables

Great Tables in twiga's table theme, with plain column labels.

theme

Lets-plot style: twiga's theme with the milia palette, replaceable as a whole.

tokens

Design tokens: the palette and the semantic colour roles every figure uses.