Pandas Bar Chart
I just upgraded to pandas 0.20 / matplotlib 2.0 python 3.6. (build version below everywhere). I used pandas to plot histograms as matplotlib was always too low. The color columns behavior has now changed and I don't know how to fix it. It used to be like this:
np.random.seed(42) d = pd.Series(data=np.random.rand(10), index=range(10)) color=np.random.rand(10,4) d.plot.bar(color=color)
production:
But now the diagram produces:
So that the first color is raised, but not left.
Wondering if this is a bug or a new methodology, although I cannot find the correct link.
+3
source to share