plotly (version 4.5.2)

colorbar: Modify the colorbar

Description

Modify the colorbar

Usage

colorbar(p, ...)

Arguments

p

a plotly object

Examples

Run this code
# NOT RUN {
plot_ly(mpg, x = ~cty, y = ~hwy, color = ~cyl) %>%
  colorbar(len = 0.5)

# }

Run the code above in your browser using DataLab