p = Primes()
histogram([x % 10 for x in p[:5000]])
histogram([x % 10 for x in p[:5000]], normed=True)
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)
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)