You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where to is the fill colour hex code (or colour name)
library(palmerpenguins)
library(tidyverse)
#> Warning: package 'ggplot2' was built under R version 4.3.1#> Warning: package 'purrr' was built under R version 4.3.1#> Warning: package 'dplyr' was built under R version 4.3.1p<-penguins|>
ggplot() +
geom_point(aes(flipper_length_mm, body_mass_g, colour=species))
p+
theme(plot.background= element_rect(fill="green")) +
theme(panel.background= element_rect(fill="red")) +
theme(legend.background= element_rect(fill="orange")) +
theme(legend.key= element_rect(fill="blue"))
#> Warning: Removed 2 rows containing missing values (`geom_point()`).
easy_background_fill(what = c("plot", panel", "legend", "key"), to = NULL, teach = FALSE)
where
to
is the fill colour hex code (or colour name)Created on 2023-09-20 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: