geom_col: fill color not set
czeildi opened this issue · comments
Ildikó Czeller commented
with geom_col the fill color of the bars is not set to default palette color while with geom_bar it is.
ggthemr('flat')
ggplot(mtcars, aes(x = mpg, y = cyl)) +
geom_col()
ggplot(mtcars, aes(x = mpg, y = cyl)) +
geom_bar(stat = 'identity')
Sainath Adapa commented
Thanks for finding the issue! I have pushed a commit just now, which should solve this issue.
Ildikó Czeller commented
super cool, perfect now!
Ildikó Czeller commented
Hi, probably similar, but I am not 100% sure: geom ribbon is a generalization of geom area, and I would expect to geom_vline behave the same as geom_hline.
Sainath Adapa commented
Thanks! corrected now.
Ildikó Czeller commented
thanks! btw cool package, I am currently working on a custom palette + theme using ggthemr.
Sainath Adapa commented
I'm just maintaining the package currently. @cttobin is the author, who wrote most of the code.