label-value
Default labeller: shows the level value as-is.
Usage
label-value()Returns
Labeller dictionary consumed by facet-wrap and facet-grid.
Examples
Strip text shows the level value as-is ("a", "b").
#let d = ()
#for sp in ("a", "b") {
for i in range(0, 4) {
d.push((sp: sp, x: i, y: i))
}
}
#plot(
data: d,
mapping: aes(x: "x", y: "y"),
layers: (geom-point(size: 2pt),),
facet: facet-wrap("sp", labeller: label-value()),
width: 10cm,
height: 5cm,
)