KnowledgeBoat Logo
|

Informatics Practices

We can specify different colors for different bars of a bar chart.

PyPlot

3 Likes

Answer

True

Reason — In Matplotlib, we can specify different colors for different bars of a bar chart by passing a list of colors to the bar() function. The syntax is plt.bar(x, y, color=[color1, color2,.....]).

Answered By

1 Like


Related Questions