R/utils_plot.R

Defines functions override_alpha rotate_x

rotate_x <- function() {
  ggplot2::theme(
    axis.text.x = ggplot2::element_text(angle = 45, hjust = 1, vjust = 1)
  )
}

override_alpha <- function() {
  ggplot2::guides(color = ggplot2::guide_legend(override.aes = list(alpha = 1)))
}

Try the flashlight package in your browser

Any scripts or data that you put into this service are public.

flashlight documentation built on Nov. 5, 2025, 5:34 p.m.