Customizing the Plot
pl.hist([1,4,9,13,15],bins=[1,5,10,15],edgecolor='black',width=.5)
>>> a=[1,2,3,4,5,6,7,8,9,10]
>>> pl.hist(a,bins=3,edgecolor='y')
pl.hist(ages,bins=20,width=.5)
import pandas as pd
import matplotlib.pyplot as plt
data = {'Name':['Arnav', 'Sheela', 'Azhar', 'Bincy', 'Yash', 'Nazar'],
'Height' : [60,61,63,65,61,60],
'Weight' : [47,89,52,58,50,47]}
df=pd.DataFrame(data)
df.plot(kind='hist',bins=6,edgecolor='k')
plt.show()