Skip to content

Commit 97d86bb

Browse files
committed
fix typo in vline. fixes #402
1 parent cb855c1 commit 97d86bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/trace_generation.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,8 +405,8 @@ toBasic <- list(
405405
ymin <- as.character(s[1])
406406
ymax <- as.character(s[length(s)])
407407
} else {
408-
ymin <- min(g$prestats.data$globxmin, na.rm = T)
409-
ymax <- max(g$prestats.data$globxmax, na.rm = T)
408+
ymin <- min(g$prestats.data$globymin, na.rm = T)
409+
ymax <- max(g$prestats.data$globymax, na.rm = T)
410410
}
411411
g$data$plotly_id <- seq_len(N)
412412
l <- list()

0 commit comments

Comments
 (0)