Skip to content

Commit 2ea8fe2

Browse files
committed
Merge branch 'master' of https://github.com/ropensci/plotly into carson-cookbook-density
2 parents b897c52 + fb40491 commit 2ea8fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tests/testthat/test-ggplot-histogram.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ test_that("geom_histogram(aes(y = ..density..)) displays a density", {
3434
area <- sum(tr$y) * bw
3535
# the "area" of the plot (should be 1).
3636
# note this also serves as a check for the default binwidth
37-
expect_equal(area, 1, 0.1)
37+
expect_equal(area, 1, tolerance = 0.1)
3838
})
3939

4040
test_that("geom_histogram(aes(fill = ..count..)) works", {

0 commit comments

Comments
 (0)