Skip to content

Commit

Permalink
Avoid partial argument match of 'label' to 'labels' in ggplot2::scale…
Browse files Browse the repository at this point in the history
…_y_continuous
  • Loading branch information
DanChaltiel committed May 17, 2024
1 parent 51910af commit 278cbbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/scale_ggsurvfit.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ update_scale_ggsurvfit <- function(p, scale_ggsurvfit_empty_list) {
y_scale_defaults <-
list(
expand = c(0.025, 0),
label =
labels =
switch(rlang::is_installed("scales", version = "1.1.0"), scales::label_percent()) %||%
label_percent_imposter
)
Expand Down

0 comments on commit 278cbbe

Please sign in to comment.