Expand description
Bounds, axis scales, the data ↔ screen transform, and tick generation.
Structs§
- Bounds
- An axis-aligned range in data space.
- Tick
- One tick: its position in scaled space, its label, and whether it is a major tick.
- Tick
Rules - Overrides for tick placement, from the plot axis configuration.
Enums§
Functions§
- format_
readout - A readable value for tooltips: about 4 significant digits.
- format_
value - A value at the precision of
step, switching to scientific notation for very large or very small magnitudes.-0prints as0. - nice_
step - The nice step for a span split into about
targetintervals. - ticks
- “Nice” ticks (1, 2, 5 × 10ⁿ) in
[min, max](scaled space), aboutpixels / spacingof them, with labels formatted to the step’s precision, plus minor ticks.