Facets Module
daspi.plotlib.facets
¶
Layout and annotation helpers for multi-panel matplotlib figures.
This module provides the three facet classes that handle everything below the actual data-drawing layer: creating subplot grids, labelling axes and legends, and adding reference lines or highlight bands.
| CLASS | DESCRIPTION |
|---|---|
``AxesFacets`` |
Creates a grid of |
``LabelFacets`` |
Handles all post-drawing annotation of a figure: axis titles,
axis labels, row / column span labels, suptitle, and the legend
(including Bonferroni-corrected confidence levels). Keeps
|
``StripesFacets`` |
Adds horizontal or vertical reference marks — lines, spans, and
|
Standalone functions
flat_unique
Order-preserving unique-element extraction from a nested array or
list of lists; used internally to build consistent tick labels.
Notes
LabelFacets and StripesFacets are instantiated by Chart
subclasses and are not normally created directly by library users.
AxesFacets is part of the public API and is the recommended way to
build custom subplot grids when the Chart classes are too opinionated.