8000 switch last imshow example to bar chart · plotly/plotly.r-docs@5934b75 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5934b75

Browse files
author
Joseph Damiba
committed
switch last imshow example to bar chart
1 parent dd476b2 commit 5934b75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

r/2020-02-25-imshow.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ img = readImage('https://upload.wikimedia.org/wikipedia/commons/thumb/0/00/Crab_
7575
7676
fig <- plot_ly(type="image", z=img*250)
7777
fig <- fig %>% add_trace(
78-
type='scatter', y=c(50, 60), x=c(40, 50),
78+
type='bar', y=c(50, 60), x=c(40, 50),
7979
marker=list(color='pink', size=10))
8080
fig
8181
```

0 commit comments

Comments
 (0)
0