From 840a4c04950ed4c2fd9f39165b805abdc02de892 Mon Sep 17 00:00:00 2001 From: Hadley Wickham Date: Wed, 24 May 2023 14:00:11 -0500 Subject: [PATCH] Set background theme --- _common.R | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_common.R b/_common.R index e935cfea4..2879ee447 100644 --- a/_common.R +++ b/_common.R @@ -24,6 +24,11 @@ options( ) ggplot2::theme_set(ggplot2::theme_gray(12)) +ggplot2::theme_update( + panel.background = ggplot2::element_rect( + fill = rgb(207, 207, 207, maxColorValue = 255) + ) +) status <- function(type) { status <- switch(type,