From 84797c82684e4a38f0908fcdc0fa948e3300bba5 Mon Sep 17 00:00:00 2001 From: gnoblet Date: Sun, 22 Jan 2023 10:09:46 -0500 Subject: [PATCH] Fix grid major linewidth parameter --- R/theme_reach.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/R/theme_reach.R b/R/theme_reach.R index 0017a79..a12bb2d 100644 --- a/R/theme_reach.R +++ b/R/theme_reach.R @@ -77,8 +77,8 @@ theme_reach <- function( axis_title_color = cols_reach("main_grey"), axis_title_font_face = "bold", axis_text_x_angle = 0, - axis_text_x_vjust = 0, - axis_text_x_hjust = 0, + axis_text_x_vjust = 0.5, + axis_text_x_hjust = 0.5, grid_x = FALSE, grid_y = FALSE, grid_color = cols_reach("main_lt_grey"), @@ -199,7 +199,7 @@ theme_reach <- function( ggplot2::theme( panel.grid.major.x = ggplot2::element_line( color = grid_color, - linewidth = grid_y_size) + linewidth = grid_x_size) ) # Y - major grid lines