1

With some code, I used to derive a histogram with different colors per bar:

histogram

When I use the same code now, I get this:

enter image description here

How do I change it back to being colorful?

I am using Visual Studio Code (if that matters) and my code looks something like this:

pd.Series([1,7,9,8,5], index=[1,2,3,4,5]).plot(kind="bar")

enter image description here

Thanks a lot!

Konrad Rudolph
  • 530,221
  • 131
  • 937
  • 1,214
Julian
  • 591
  • 5
  • 14
  • please post your code as a minimal reproducible example – bcosta12 Aug 16 '19 at 12:30
  • @bcosta12: That is kind of the problem: I cannot reproduce it! I posted some code to work with though. The question could be rephrased to: How to color each bar differently without explicitly specifying the colors? – Julian Aug 16 '19 at 13:28

0 Answers0