pub fn cut_interval(x: &[f64], n: usize) -> Cut
n intervals of equal width over the range of x — ggplot2’s cut_interval(x, n).
n
x
cut_interval(x, n)