matplotlib bar with different colors code example
Example: pyplot bar plot colur each bar custom
plt.bar(y_pos, height, color=['black', 'red', 'green', 'blue', 'cyan'])
plt.bar(y_pos, height, color=['black', 'red', 'green', 'blue', 'cyan'])