fix hist for uneven

This commit is contained in:
Michael K. Borregaard 2017-02-25 16:45:52 +01:00
parent 9472c0c5e5
commit 39d86f8461

View File

@ -424,7 +424,8 @@ end
edges, counts = my_hist(y, d[:bins], edges, counts = my_hist(y, d[:bins],
normed = d[:normalize], normed = d[:normalize],
weights = d[:weights]) weights = d[:weights])
x := edges bar_width := diff(edges)
x := centers(edges)
y := counts y := counts
seriestype := :bar seriestype := :bar
() ()