R/scatter_grid.R

Defines functions scatter_grid

Documented in scatter_grid

#' The Urban Institute [ggplot2] theme
#'
#' Adds vertical grid lines to plots for scatter plots. This is useful for
#' scatter plots because urbnthemes only supplies horizontal grid lines.
#'
#' @export
#'
scatter_grid <- function() {
  ggplot2::theme(panel.grid.major.x = ggplot2::element_line(colour = "#dedddd"))
}
UrbanInstitute/urbnthemes documentation built on Jan. 26, 2022, 8:34 p.m.