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