Skip to main content

histogram_density

Function histogram_density 

Source
pub fn histogram_density(
    name: impl Into<String>,
    values: &[f64],
    bins: usize,
) -> Vec<Series<'static>>
Expand description

A histogram normalized so the bar areas sum to one; a density estimate appears as a line over the same bars.