How to add color for each bar

Hi, when we are plotting with seaborn or matplotlib, we have option of adding color, but when plotting from pandas, how do we add color for each bar?


df[‘Height’].hist(bins = 6, grid = False);

plt.xlabel(‘Height (in cm)’, fontsize=15)

plt.ylabel(‘Number of Students’, fontsize=15)


Hi @priyanka,
Please refer this