pub fn lc_nice(lo: f64, hi: f64, steps: u32) -> (f64, f64, u32)Expand description
“nice” ticks over lo ..= hi: (first, step, n) – the step 1, 2, 2.5 or 5 x 10^k, first and first + n * step the multiples of it at or around lo and hi, n <= max(steps, 1) (at least 1; lo == hi spans |lo|, or 1)