plotly (version 4.9.2.1)

hide_colorbar: Hide color bar(s)

Description

Hide color bar(s)

Usage

hide_colorbar(p)

Arguments

p

a plotly object.

See Also

hide_legend()

Examples

Run this code
# NOT RUN {
p <- plot_ly(mtcars, x = ~wt, y = ~cyl, color = ~cyl)
hide_colorbar(p)
  
# }

Run the code above in your browser using DataCamp Workspace