How can i remove the top hower bar which has download plot, zoom in or out or options on the plotly chart in R ?
enter image description here
I google a little for you. This should be simple, use this:
config(displayModeBar = F)
Look here to the Answer of Vance Lopez: Removing the Edit Chart link from an R plotly graph
From the documentation, use config:
Plotly object p
p %>% config(showLink = F) You can see .js config options in action here.
Note: the "save and edit plot in cloud" button in the Mode Bar at the top still exists. You can turn off the Mode Bar with
config(displayModeBar = F) There is a request on GitHub to edit specific Mode Bar buttons.