See pal_frontiers() for details.
Palette type.
Currently there is one available option: "default"
(10-color palette).
Transparency level, a real number in (0, 1].
See alpha in grDevices::rgb() for details.
Additional parameters for ggplot2::discrete_scale().
example_scatterplot() +
ggplot2::theme_dark() +
ggplot2::theme(
panel.background = ggplot2::element_rect(fill = "#2D2D2D"),
legend.key = ggplot2::element_rect(fill = "#2D2D2D")
) +
scale_color_frontiers()
#> `geom_smooth()` using formula = 'y ~ x'
example_barplot() +
ggplot2::theme_dark() +
ggplot2::theme(
panel.background = ggplot2::element_rect(fill = "#2D2D2D")
) +
scale_fill_frontiers()