Hi guys,
Recently I started using a different color for my background in ggplots. However, when kniting to a Distill document, the ggplot has a black border.
I've tried to remove the border with cowplot::panel_border(remove = TRUE), and the "theme()" function, too. None of these were successful. I used them as follows:
p +
cowplot::panel_border(remove = T)
p + theme(
panel.border = element_blank()
)
Any ideas?