Home > front end >  How to get colors of pandas bar plot
How to get colors of pandas bar plot

Time:09-17

How can I get the colors of the elements in a pandas bar plot?

Example: I have a bar plot with historic data for a couple of columns. Now I want to plot a horizontal line with the mean value of each column in the same color as the bars.

This question discusses access to colors of matplotlib line plots: enter image description here

  • Related