We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 054194e + 2e9d451 commit 00d21e3Copy full SHA for 00d21e3
1 file changed
R/gg_temp_ipr.R
@@ -203,7 +203,11 @@ gg_temp_ipr <- function(df_ipr,
203
axis.text.x = element_text(angle = 45, hjust = 1),
204
panel.grid.minor = ggplot2::element_blank(),
205
panel.grid.major.x = ggplot2::element_blank(),
206
- panel.grid.major.y = ggplot2::element_line(color = "lightgrey", size = .25),
+ panel.grid.major.y = if (utils::packageVersion("ggplot2") >= "3.4.0") {
207
+ ggplot2::element_line(color = "lightgrey", linewidth = 0.25)
208
+ } else {
209
+ ggplot2::element_line(color = "lightgrey", size = 0.25)
210
+ },
211
panel.background = ggplot2::element_blank(),
212
strip.background = ggplot2::element_blank())
213
# orientation de l'axe des IPR selon l'argument inv_y
0 commit comments