Skip to content
facets

facets

Mojo module 🡭

facets

render_facets(): one plot per cell, laid out in a uniform grid.

The cell-layout work lives in layout.mojo and is shared with render_grid(); a facet grid is that core’s degenerate case, one cell per plot with equal tracks. What is left here is the facet-shaped interface to it: cols instead of a cell list, and a canvas size derived from the plots rather than given.

Functions