From 39d86f846115a502b6562599badb6b692cec244a Mon Sep 17 00:00:00 2001 From: "Michael K. Borregaard" Date: Sat, 25 Feb 2017 16:45:52 +0100 Subject: [PATCH] fix hist for uneven --- src/recipes.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/recipes.jl b/src/recipes.jl index 156bda3e..7e2742f3 100644 --- a/src/recipes.jl +++ b/src/recipes.jl @@ -424,7 +424,8 @@ end edges, counts = my_hist(y, d[:bins], normed = d[:normalize], weights = d[:weights]) - x := edges + bar_width := diff(edges) + x := centers(edges) y := counts seriestype := :bar ()