Skip to content

Commit

Permalink
added colour transparency to ggthemes
Browse files Browse the repository at this point in the history
  • Loading branch information
m-delem committed Oct 30, 2024
1 parent 2058522 commit 1ac0fc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/gg-themes.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
theme_transparent <- function() {
theme(
panel.background = element_rect(fill = "transparent"),
plot.background = element_rect(fill = "transparent"),
plot.background = element_rect(fill = "transparent", color = NA),
legend.background = element_rect(fill = 'transparent'),
legend.box.background = element_rect(fill = 'transparent')
legend.box.background = element_rect(fill = 'transparent', color = NA)
)
}

Expand Down

0 comments on commit 1ac0fc6

Please sign in to comment.