Skip to content

Commit 27b9439

Browse files
committed
fix typos; bump version; update news
1 parent 879b047 commit 27b9439

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.0.9
3+
Version: 2.0.10
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.0.10 -- 10 Dec 2015
2+
3+
Fix #225
4+
15
2.0.9 -- 10 Dec 2015
26

37
Fix #333

tests/testthat/test-ggplot-density.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ base <- ggplot(mtcars, aes(wt))
1818

1919
test_that("geom_density() is translated to area chart", {
2020
info <- expect_traces(base + geom_density(), 1, "simple")
21-
tr <- info$traces[[1]]
21+
tr <- info$data[[1]]
2222
expect_identical(tr$type, "scatter")
2323
expect_identical(tr$fill, "tozeroy")
2424
expect_identical(tr$fillcolor, "rgba(51,51,51,0)")
@@ -49,7 +49,7 @@ g <- base +
4949

5050
test_that("geom_histogram(aes(y = ..density..)) + geom_density() works", {
5151
info <- expect_traces(g, 2, "histogram")
52-
trs <- info$traces
52+
trs <- info$data
5353
type <- unique(sapply(trs, "[[", "type"))
5454
expect_identical(sort(type), c("bar", "scatter"))
5555
})

0 commit comments

Comments
 (0)