We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c3917a commit 2b2615fCopy full SHA for 2b2615f
tests/testthat/test-ggplot-density2d.R
@@ -51,7 +51,7 @@ test_that("StatDensity2d with GeomPolygon translates to filled path(s)", {
51
length(unique(unlist(lapply(polygons, "[[", "fillcolor")))) > 1
52
)
53
# ensure the legend/guide are placed correctly
54
- expect_true(L$layout$legend$y == 0.5)
+ expect_true(L$layout$legend$y < 0.5)
55
expect_true(L$layout$legend$yanchor == "top")
56
expect_true(colorbar$marker$colorbar$y == 1)
57
expect_true(colorbar$marker$colorbar$yanchor == "top")
0 commit comments