yhat / ggpy

ggplot port for python
http://yhat.github.io/ggpy/
BSD 2-Clause "Simplified" License
3.7k stars 572 forks source link

ggplot doesn't pick colors #631

Open georgeg0 opened 6 years ago

georgeg0 commented 6 years ago

Here is the ggplot python translation of the R code (R version works fine). ggplot(aes(displ),data =mpg) + geom_histogram(aes(fill=class),binwidth = .1,col="black")

python version ggplot(aes('displ'),data =mpg)+geom_histogram(aes(fill='class'), binwidth = .1, col="black" ) In the python version I am getting following error: ValueError: Invalid RGBA argument: 'compact'