diff --git a/src/visualizers/histogram.rs b/src/visualizers/histogram.rs index 8e481ab..b690675 100644 --- a/src/visualizers/histogram.rs +++ b/src/visualizers/histogram.rs @@ -75,7 +75,8 @@ where let nr_bins = bins.len(); let mut largest = 0.0; - for i in 0..nr_bins { + // don't scale to bins[0] + for i in 1..nr_bins { if bins[i] > largest { largest = bins[i]; }