Skip to content

Commit

Permalink
Fixed a warning from a {ggplot2} deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
ellessenne committed Dec 12, 2023
1 parent 62ff4c5 commit 58945b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/plot-types.R
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@
gg <- ggplot2::ggplot(data, ggplot2::aes(y = rank, x = lower, color = covering)) +
ggplot2::geom_segment(ggplot2::aes(yend = rank, xend = upper)) +
ggplot2::geom_vline(xintercept = true, color = "black", linetype = "dashed") +
ggplot2::geom_hline(ggplot2::aes(yintercept = cover_lower), color = data$line_color_lower, linetype = "dashed", size = 1) +
ggplot2::geom_hline(ggplot2::aes(yintercept = cover_lower), color = data$line_color_lower, linetype = "dashed", linewidth = 1) +
ggplot2::geom_hline(ggplot2::aes(yintercept = 0.95), color = "black", linetype = "dashed") +
ggplot2::geom_hline(ggplot2::aes(yintercept = cover_upper), color = data$line_color_upper, linetype = "dashed", size = 1) +
ggplot2::geom_hline(ggplot2::aes(yintercept = cover_upper), color = data$line_color_upper, linetype = "dashed", linewidth = 1) +
ggplot2::labs(y = ylab, x = paste0(100 * control$level, "% confidence intervals"), color = "") +
theme(legend.position = "bottom")

Expand Down

0 comments on commit 58945b4

Please sign in to comment.