hide_legend: Hide legend

View source: R/helpers.R

hide_legendR Documentation

Hide legend

Description

Hide legend

Usage

hide_legend(p)

Arguments

p

a plotly object.

See Also

hide_colorbar()

Examples



p <- plot_ly(mtcars, x = ~wt, y = ~cyl, color = ~factor(cyl))
hide_legend(p)


plotly/plotly.R documentation built on Dec. 20, 2024, 6:40 a.m.