Skip to content

Commit 22e055c

Browse files
committed
don't leave out the encoding
1 parent c02f967 commit 22e055c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

examples/data.Rmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ g2(mtcars, hp ~ mpg) |>
6565
mark_point() |>
6666
mark_line_y(
6767
data = list(list(y = 150)),
68+
encode = list(y = 'y'),
6869
style = list(stroke = 'tomato', lineWidth = 2)
6970
)
7071
```

0 commit comments

Comments
 (0)