How to disable the zoom of a plotly chart in R?
问题 I didn't find an argument to disable the zoom mode of the mouse cursor on a plotly graph. This is bad because when you drag your fingers across your phone, the zoom increases. Taking advantage of the question, I would like to remove all the buttons from the plotly and leave only the button to download the image. 回答1: There is a lot you can do! The button line in plotly is called "modebar" and you can remove it completely, or remove specific buttons from it: plot_ly() %>% config