pub fn nice_ticks(min: f64, max: f64, target: usize) -> Ticks
Axis ticks over [min, max]: a nice step (1, 2 or 5 × 10^n) giving about target ticks, the range widened to whole steps, every tick rounded to the step’s decimals.
target