colorbar
From plotly v4.5.2
by Carson Sievert
Modify the colorbar
Modify the colorbar
Usage
colorbar(p, ...)
Arguments
- p
a plotly object
- ...
arguments are documented here https://plot.ly/r/reference/#scatter-marker-colorbar.
Examples
library(plotly)
# NOT RUN {
plot_ly(mpg, x = ~cty, y = ~hwy, color = ~cyl) %>%
colorbar(len = 0.5)
# }
Community examples
Looks like there are no examples yet.