ggthemeassist icon indicating copy to clipboard operation
ggthemeassist copied to clipboard

Existing Theme gets ignored

Open mehtapriyesh opened this issue 4 years ago • 2 comments

Hello, When run with an already loaded theme, the assistant ignores the new theme and begins from the base theme. Is there a workaround to begin from the existing theme?

top_languages %>% ggplot(aes(x="", y=value, fill = name)) + geom_bar(stat="identity", position=position_fill(), show.legend = F, color="white") + coord_polar(theta="y") + facet_grid(rows = vars(title), cols = vars(recommendation), ) + scale_fill_manual(values = colors) + theme_void()

mehtapriyesh avatar Dec 02 '20 10:12 mehtapriyesh

Hi!

Could you post a screenshot, what you mean with base theme?

calligross avatar Dec 02 '20 20:12 calligross

Hello, By base theme, I mean default ggplot theme.

Here's a screenshot of my plot with theme_void() applied. image

And this is the screenshot of ggthemeassist panel: image

As you can see that theme assist ignores the theme_void() command and all other theme elements modified by it.

mehtapriyesh avatar Dec 06 '20 20:12 mehtapriyesh