hrbrthemes icon indicating copy to clipboard operation
hrbrthemes copied to clipboard

theme_modern_rc() overwrites default point color

Open z3tt opened this issue 3 years ago • 1 comments

Hi Bob, thanks for your great package(s)!

I just realized, that when I call theme_modern_rc() once all my following plots have light blue dots without specifying it. I was able to track it down to your theme but it also happens when I add it via namespace and is still present after detaching the package. How can one overcome this? I think the expected behavior is to replace the color when using the theme but keep em black by default in all other cases.

Cheers, Cédric

z3tt avatar Dec 07 '20 11:12 z3tt

Sorry to bother you with that, just found the solution a second later via update_geom_defaults("point", list(colour = "black")). However, I still think this should be the default behavior of hrbrthemes, not something the user has to specify on its own.

z3tt avatar Dec 07 '20 11:12 z3tt