Expand description
Axis tick generation using the Talbot/Wilkinson extended algorithm.
This module implements the “An Extension of Wilkinson’s Algorithm for Positioning Tick Labels on Axes” algorithm (Talbot, Lin, Hanrahan, 2010). It produces aesthetically pleasing tick positions by jointly optimizing four objectives: simplicity, coverage, density, and legibility.
Structs§
- Tick
- A single tick mark with its position in data space and a formatted label.
- TickSet
- A set of tick positions with formatted labels.
Functions§
- format_
tick_ value - Formats a single tick value to a compact, human-readable string.
- generate_
log_ minor_ ticks - Generates minor tick positions for a log10 scale.
- generate_
ticks - Generates optimal tick positions for an axis range.