Skip to content

Commit 341305c

Browse files
committed
remove unnecessary formula
1 parent 2600218 commit 341305c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/testthat/test-plotly-subplot.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,9 @@ test_that("shape paper repositioning", {
210210
expect_equal(yref, rep("paper", 2))
211211

212212
# now with a fixed height/width
213-
p1 <- plot_ly(mtcars) %>%
213+
p1 <- plot_ly() %>%
214214
layout(
215-
shapes = ~list(
215+
shapes = list(
216216
type = "rect",
217217
x0 = 0.25,
218218
x1 = 0.75,
@@ -225,9 +225,9 @@ test_that("shape paper repositioning", {
225225
fillcolor = "red"
226226
)
227227
)
228-
p2 <- plot_ly(mtcars) %>%
228+
p2 <- plot_ly() %>%
229229
layout(
230-
shapes = ~list(
230+
shapes = list(
231231
type = "rect",
232232
y0 = 0.25,
233233
y1 = 0.75,

0 commit comments

Comments
 (0)