pub fn hist_with_edges( data: Vec<f64>, edges: Vec<f64>, ) -> Result<Histogram, String>
Create a histogram with custom bin edges (hist(data, edges))
hist(data, edges)