What does hist() do ?
The hist() function of PyPlot module is used to create and plot histogram from a given sequence(s) of numbers.
hist()