R/plot_helpers.R

Defines functions neat_chart

Documented in neat_chart

#plot helpers: these objects add aditional customization to ggplots beyond theming

#' neat_chart
#'
#' a function that cleans up plot appearance by closing the axis gap
#' @return none
#' @export
#' @importFrom ggplot2 scale_y_continuous
#' @examples
#' a_plot + neat_chart()
neat_chart <- function() {


  list(ggplot2::scale_y_continuous(expand = expansion(mult = c(0, 0.1))))


}
rhecht95/RHthemes documentation built on Dec. 24, 2021, 10:58 a.m.