plot bar histogram matplotlib code example
Example 1: plt.hist using bins
counts, bins = np.histogram(data)
plt.hist(bins[:-1], bins, weights=counts)
Example 2: matplotlib bar graph print first n values
month_jan[feature_cols].sum().sort_values(ascending=0)[:10].plot(kind='bar')