Mikata-Project / ggthemr

Themes for ggplot2.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

geom_col: fill color not set

czeildi opened this issue · comments

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')

Thanks for finding the issue! I have pushed a commit just now, which should solve this issue.

super cool, perfect now!

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.

Thanks! corrected now.

thanks! btw cool package, I am currently working on a custom palette + theme using ggthemr.

I'm just maintaining the package currently. @cttobin is the author, who wrote most of the code.