bar-plots with wrong color using Matplotlib 1.5 · Issue #11614 · pandas-dev/pandas (original) (raw)

Hi there,

I'm not sure if this is a pandas/matplotlib or seaborn issue...but since I upgraded to Matplotlib 1.5 using anaconda I can't get the colors of my barplots right anymore, here's an example:

In ipython notebook:

import pandas as pd

%matplotlib inline

import seaborn as sns
sns.set_style('whitegrid')

# Works, color as expected in nice muted blue
pd.DataFrame([1,2,3,4,5,6]).plot(linewidth=10)


# Doesn't work, getting matplotlib "eye-cancer-blue"
pd.DataFrame([1,2,3,4,5,6]).plot(kind='bar')

I attached a screenshot one with matplotlib 1.4.x and one with 1.5:

matplotlib_15
matplotlib_14

Again I know this might well not be a pandas issue but maybe someone has an idea where the problem might be.