Skip to content

Commit 8f11a8d

Browse files
committed
Merge pull request #406 from ropensci/fix/vline
fix typo in vline. fixes #402
2 parents cb855c1 + 79cd19d commit 8f11a8d

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: plotly
22
Title: Create Interactive Web Graphics via Plotly's JavaScript Graphing Library
3-
Version: 2.2.2
3+
Version: 2.2.3
44
Authors@R: c(person("Carson", "Sievert", role = c("aut", "cre"),
55
email = "[email protected]"),
66
person("Chris", "Parmer", role = c("aut", "cph"),

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2.2.3 -- 18 Jan 2015
2+
3+
Fix for geom_vline(). See #402.
4+
15
2.2.2 -- 18 Jan 2015
26

37
Fix bar orientation when we detect geom_bar() + coord_flip() in ggplotly(). Fixes #390.

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)