powered by
Remove plotly buttons from the mode bar, other than the camera and plotly logo.
plotly_camera(plotly, logo = FALSE)
A plotly object. Required input.
TRUE or FALSE of whether to display the plotly logo. Defaults to FALSE.
# NOT RUN { plot_data <- dplyr::sample_frac(ggplot2::diamonds, 0.05) plot <- gg_point(data = plot_data, x_var = carat, y_var = price) plotly::ggplotly(plot) %>% plotly_camera() # }
Run the code above in your browser using DataLab