size -> linewidth

The `size` argument of `element_line()` is deprecated as
of ggplot2 3.4.0
This commit is contained in:
dchakro 2022-12-19 08:54:32 +02:00
parent b8e1e2f4f5
commit 18f32c18c2

View file

@ -92,7 +92,7 @@ DC_theme_generator <- function(type,
# Type: L
themeToReturn <- ggplot2::theme(
axis.line = element_line(colour = "black",
size=0.5),
linewidth=0.5),
panel.border = element_blank(),
panel.background = element_blank(),
panel.grid.major.x=element_line(color=x_gridline),