histogram in python matplotlib of a dataframe column code example Example: pandas plot histogram ax = df.plot.hist(bins=12, alpha=0.5)