tick_step

Function tick_step 

Source
pub fn tick_step(start: f64, stop: f64, count: usize) -> f64
Expand description

Compute the step size for generating approximately count ticks.

ยงExample

use d3rs::array::tick_step;

let step = tick_step(0.0, 100.0, 10);
assert_eq!(step, 10.0);