#' theme_all_grey()
#'
#' A theme with all grey panel and plot background with thick grey grid lines, designed for simple scatter plots.
#'
#' @return
#' @export
#'
#' @examples
theme_all_grey <- function() {
theme(
plot.background = element_rect(fill = "grey90"),
panel.background = element_rect(fill = "grey90"),
panel.grid = element_line(color = "gray10")
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.