Answers for "matplotlib change color of bar chart"

1

pyplot bar plot colur each bar custom

plt.bar(y_pos, height, color=['black', 'red', 'green', 'blue', 'cyan'])
Posted by: Guest on July-18-2020

Python Answers by Framework

Browse Popular Code Answers by Language