library(palmerpenguins)
library(ggplot2)
#set for a plot
penguins |>
gg_point(
x = flipper_length_mm,
y = body_mass_g,
col = species,
theme = light_mode()
)
#set globally
if (FALSE) {
theme_set(light_mode())
penguins |>
gg_point(
x = flipper_length_mm,
y = body_mass_g,
col = species
)
}
Run the code above in your browser using DataLab