Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (6 sloc) 279 Bytes
>>> x = [1,9,5,17,20,2,24,1]
>>> import matplotlib.pyplot as plt
>>> plt.hist(x)
(array([ 3., 1., 0., 1., 0., 0., 1., 0., 1., 1.]), array([ 1. , 3.3, 5.6, 7.9, 10.2, 12.5, 14.8, 17.1, 19.4,
21.7, 24. ]), <a list of 10 Patch objects>)
>>> plt.show()