In [1]:
p = Primes()
In [2]:
histogram([x % 10 for x in p[:5000]])
Out[2]:
In [3]:
histogram([x % 10 for x in p[:5000]], normed=True)
Out[3]:
In [5]:
histogram([1,1,1,1,1,2,2,3,3,3,3,3,5,5,6,8,8,8,8,8,8,8,8,8,8,8,10], cumulative=True)
Out[5]:
In [6]:
histogram([1,1,1,1,1,2,2,3,3,3,3,3,5,5,6,8,8,8,8,8,8,8,8,8,8,8,10], bins=4)
Out[6]: