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)))
}
mayer79/flashlight documentation built on Feb. 13, 2024, 1:09 p.m.