Third Post In [2]: import matplotlib.pyplot as plt %matplotlib inline plt.hist([8,3,3,10,1,5]) Out[2]: (array([1., 0., 2., 0., 1., 0., 0., 1., 0., 1.]), array([ 1. , 1.9, 2.8, 3.7, 4.6, 5.5, 6.4, 7.3, 8.2, 9.1, 10. ]), <a list of 10 Patch objects>)