How to custom or display modebar in plotly?
问题 I would like to custom the modebar (on top right) so as to keep just "zoom","pan","box select","zoom in" and "zoom out". If it's not possible, I prefer display the modebar. Here graph and code : x <- c(1:15) y <- c(1:15) xy <- as.data.frame(cbind(x,y)) example <- ggplot(data = xy,aes(x = x,y = y))+geom_line() ggplotly(example) Thank you for help 回答1: Using your example: x <- c(1:15) y <- c(1:15) xy <- as.data.frame(cbind(x,y)) example <- ggplot(data = xy,aes(x = x,y = y))+geom_line() ggplotly