Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing a dictionary of columns names and colors #8193

Closed
DataSwede opened this issue Sep 5, 2014 · 4 comments · Fixed by #31071
Closed

Passing a dictionary of columns names and colors #8193

DataSwede opened this issue Sep 5, 2014 · 4 comments · Fixed by #31071

Comments

@DataSwede
Copy link

Related to this question:

http://stackoverflow.com/questions/25689558/pandas-bar-plot-specify-bar-color-by-column

Having the ability to natively pass in a dictionary of the column names and the desired color could be a nice addition to simplify specifying what color you want each line/bar to be.

@jreback jreback added the Visualization plotting label Oct 2, 2014
@mattayes
Copy link
Contributor

+1

@sinhrks
Copy link
Member

sinhrks commented Jul 18, 2015

I thinks this is not difficult, as style kw already accepts dict. PR is welcome:)

@TomAugspurger TomAugspurger modified the milestones: Someday, Contributions Welcome Jul 6, 2018
@TomAugspurger
Copy link
Contributor

@DataSwede could you update the original post with a small example (just two columns) and the desired behavior? Maybe a unit test?

@datapythonista datapythonista modified the milestones: Contributions Welcome, Someday Jul 8, 2018
@Leostayner
Copy link

Can we work on this issue?
@elisamalzoni

Leostayner added a commit to Leostayner/pandas that referenced this issue Sep 27, 2019
Leostayner added a commit to Leostayner/pandas that referenced this issue Oct 1, 2019
Leostayner added a commit to Leostayner/pandas that referenced this issue Oct 23, 2019
Leostayner added a commit to Leostayner/pandas that referenced this issue Nov 21, 2019
MarcoGorelli pushed a commit to MarcoGorelli/pandas that referenced this issue Jan 16, 2020
MarcoGorelli pushed a commit to MarcoGorelli/pandas that referenced this issue Jan 17, 2020
@jreback jreback modified the milestones: Someday, 1.1 Jan 18, 2020
MarcoGorelli pushed a commit to MarcoGorelli/pandas that referenced this issue Jan 19, 2020
MarcoGorelli pushed a commit to MarcoGorelli/pandas that referenced this issue Jan 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
8 participants