thomasp85 / patchwork

The Composer of ggplots
https://patchwork.data-imaginist.com
Other
2.46k stars 162 forks source link

How to remove borders between plots? #341

Closed SeriyBg closed 1 month ago

SeriyBg commented 10 months ago

When I'm using the theme_solarized(light=F) from the ggthemes package, the plot's background color becomes dark. And with the patchwork, I have the white borders between them. Is it possible to get rid of it?

Example:

p1 <- ggplot() + theme_solarized(light=F)
p2 <- ggplot() + theme_solarized(light=F)
p1 | p2

Rplot

thomasp85 commented 9 months ago

I don't know where theme_solarized() comes from so it is hard to say, but perhaps setting the background color to the same as the fill?