get_figure
From plotly v4.5.2
by Carson Sievert
Request a figure object
Figure objects work in the same way as plotly objects, but when printed, they overwrite the already existing plotly object (instead of creating a new plotly).
Usage
get_figure(username, id)
Arguments
- username
corresponding username for the figure.
- id
of the Plotly figure.
References
https://plot.ly/rest/
Examples
library(plotly)
# NOT RUN {
# Anyone can obtain the information for a particular plot
fig <- get_figure("cpsievert", "559")
# If you have proper credentials, you can easily modify
layout(fig, title = paste("Modified on ", Sys.time()))
# }
Community examples
Looks like there are no examples yet.