I am looking to plot the relative frequency of a bunch of numbers in Python. I need to use the hist
function, I have looked elsewhere on this site but I haven't found anything.
I am doing the following
x = array ([6.36,6.34,6.36,6.73,7.36,6.73])
hist (x)
When I do this I get a plot of just frequency, how do I make it relative frequency?