Skip to content

Commit

Permalink
fix subtitle spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
krzyzinskim committed Oct 22, 2023
1 parent b1c1051 commit 19365d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/plot_model_profile_survival.R
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ plot2_mp <- function(x,
if (!is.null(subtitle) && subtitle == "default") {
subtitle <- paste0("created for the ", unique(variable), " variable")
if (single_timepoint && !marginalize_over_time) {
subtitle <- paste0(subtitle, " and time =", times)
subtitle <- paste0(subtitle, " and time = ", times)
}
}

Expand Down
2 changes: 1 addition & 1 deletion R/plot_predict_profile_survival.R
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ plot2_cp <- function(x,
if (!is.null(subtitle) && subtitle == "default") {
subtitle <- paste0("created for the ", unique(variable), " variable")
if (single_timepoint && !marginalize_over_time) {
subtitle <- paste0(subtitle, " and time =", times)
subtitle <- paste0(subtitle, " and time = ", times)
}
}

Expand Down

0 comments on commit 19365d1

Please sign in to comment.