You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bar and box plots use the 'default' matplotlib colormap, even if the style is changed #5851
I originally thought this was an issue with pandas ( pandas-dev/pandas#12029 ), but I can reproduce it by using matplotlib alone.
After changing the style to "fivethirtyeight" (with pyplot.style.use("fivethirtyeight") ) and changing the default colormap (via rcParams), both bar plots and boxplots still use the default colors:
The code I used to customize the plotting style can be found on the pandas issue (like I said, it's mostly just setting the style to fivethirtyeight then changing the color cycle)
Activity
mdboom commentedon Jan 14, 2016
I think this is fixed by
#5598#5593.halflings commentedon Jan 14, 2016
Great!
Seems like the pandas people did a work around to fix this ( pandas-dev/pandas#11865 ), I hope both fixes won't conflict with each other :)
jenshnielsen commentedon Jan 14, 2016
@mdboom I remember that we talked about this issue sometime back but Is that the right PR? It only related to mplot3d as far as I can see
mdboom commentedon Jan 14, 2016
Sorry -- I mistyped the PR number. It's #5593.
halflings commentedon Jan 15, 2016
Since it seems like this was addressed previously, closing the issue. Thanks!