Axis Brace
axis.braceBlock elementGraph
Names an interval on an axis with a curly brace, drawn in the gutter beside the tick numbers — the way a graph says "this span is σ" rather than marking two endpoints and leaving the subtraction to the reader. The axis is chosen by which interval is given, like axis.label's coordinate.
Attributes
labelRequiredImplicit
x
y
flip
Defaultfalse
size
Default20
width
Default1.5
colour
Defaultneutral
hidden
Defaultfalse
Examples
axis.brace(label: $\sigma$; x: [m, m + s]; colour: grey)axis.brace:$h$(y: [0, 4]; flip: true)