#!/usr/bin/env python # coding: utf-8 # # Histograms # In[1]: import matplotlib.pyplot as plt # In[2]: data = [1,1,1,1,2,3,3,3,4,4,100] plt.hist(data) plt.show() # In[3]: data = [1,1,1,1,2,3,3,3,4,4,100] plt.hist(data, bins = 33) plt.show() # In[4]: data = [1,1,1,1,2,3,3,3,4,4,100] plt.hist(data, bins = [0,50,99,102]) plt.show()