Skip to content

Commit ac80186

Browse files
dont use ref_value as ymin and ymax fixes #9
1 parent b4ede86 commit ac80186

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/forest_plot.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -648,8 +648,8 @@ forest_plot <- function(
648648
) +
649649
ggplot2::geom_ribbon(
650650
data = data.frame(x = ref_value,
651-
ymax = ref_value,
652-
ymin = ref_value,
651+
ymax = Inf,
652+
ymin = -Inf,
653653
fill = area_legend_text),
654654
ggplot2::aes(
655655
x = x,

0 commit comments

Comments
 (0)