Normalization of histograms

This used to work in v0.6.3:

using StatsBase
normalize(fit(Histogram,rand(100),closed=:left))

In v1.1.0 I get UndefVarError: normalize not defined. Is this a bug or has the syntax changed?

1 Like

Okay, I’ve found it, I had to do using LinearAlgebra first.

4 Likes