Mikata-Project / ggthemr

Themes for ggplot2.
886 stars 107 forks source link

ggthemr_reset() does not work #43

Open yjiakang opened 3 years ago

yjiakang commented 3 years ago

Thanks for your package, I found a bug when I am using ggthemr_reset() function. It can not return back to the default theme of ggplot2. Can you help? Here is my code:

library(ggplot2)
library(ggthemr)
ggthemr("light")
ggplot(mtcars) + geom_point(aes(x = cyl, y = mpg))
ggthemr_reset()
ggplot(mtcars) + geom_point(aes(x = cyl, y = mpg))