In matplotlib
, line plots color cycle automatically. These two line plots would have different colors.
axes.plot(x1, y)
axes.plot(x2, y)
However, bar plots don't. Both these data series will have blue bars.
axes.bar(x1, y)
axes.bar(x2, y)
How do I make bar plots cycle automatically across a predefined set of colors?