I have a bar graph that creates 4 different bars. I want the first bar to be colored black, the second blue, the third green, and the fourth red. How do I achieve this?
Thanks
Best Answer
By default, all the bars in a bar graph are part of the same patch object, and therefore are the same color. To get different colors, you need to plot each bar as its own object.
Best Answer