kassambara / ggpubr

'ggplot2' Based Publication Ready Plots
https://rpkgs.datanovia.com/ggpubr/
1.12k stars 165 forks source link

Feature request: Possibility of not adding a theme #561

Open CorneeldH opened 1 year ago

CorneeldH commented 1 year ago

Currently the default for ggtheme is theme_pubr(), which is great. However, when ggtheme is missing it is alsof filled with theme_pubr(). So it doesn't seem to be possible to not theme it.

Not theming it would benice when for usage in Shiny and there global themes and you have thematic (https://rstudio.github.io/thematic/) etc.

rcirer commented 1 year ago

Came here looking for the same feature.
Maybe something like theme = "inherit"/"global"/"default" could let ggplot retrive the specifications set by the user with theme_set()?