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 43093f2 commit f461567Copy full SHA for f461567
tests/testthat/test-ggplot-resize.R
@@ -0,0 +1,9 @@
1
+context("ggplotly-resize")
2
+
3
+test_that("ggplotly shouldn't populate layout.[width/height] by default", {
4
+ lay <- ggplotly(qplot(1:10))$x$layout
5
+ expect_null(lay$height)
6
+ expect_null(lay$width)
7
+})
8
9
+# TODO: test the functionality client side!
0 commit comments