ggplot2 icon indicating copy to clipboard operation
ggplot2 copied to clipboard

Ink and paper settings for built-in themes (re: #6059)

Open teunbrand opened this issue 1 year ago • 0 comments

This PR reimplements #6059 due to a gnarly git history that I couldn't manage to resolve. The reasoning for this PR remains unchanged, but I'll post the examples again so that you can see that these are the same:

devtools::load_all("~/packages/ggplot2")
#> ℹ Loading ggplot2

p <- ggplot(mpg, aes(displ, hwy)) +
  geom_point()

p + theme_bw(ink = "dodgerblue")


p + theme_gray(paper = "orchid")


p + theme_light(ink = "white", paper = "black")

Created on 2024-08-27 with reprex v2.1.1

teunbrand avatar Aug 27 '24 13:08 teunbrand