mirror of
https://github.com/dchakro/ggplot_themes.git
synced 2026-05-17 11:22:16 -07:00
complying with deprecation
The `size` argument of `element_rect()` is deprecated as of ggplot2 3.4.0. Please use the `linewidth` argument instead.
This commit is contained in:
parent
18f32c18c2
commit
befbabca76
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ DC_theme_generator <- function(type,
|
||||||
panel.border = element_rect(linetype = 1,
|
panel.border = element_rect(linetype = 1,
|
||||||
colour = "black",
|
colour = "black",
|
||||||
fill=NA,
|
fill=NA,
|
||||||
size=1),
|
linewidth=1),
|
||||||
panel.background=element_blank(),
|
panel.background=element_blank(),
|
||||||
panel.grid.major.x=element_line(color=x_gridline),
|
panel.grid.major.x=element_line(color=x_gridline),
|
||||||
panel.grid.major.y=element_line(color=y_gridline),
|
panel.grid.major.y=element_line(color=y_gridline),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue