plotly (version 2.0.2)

get_figure: Request a figure object

Description

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

Run this code
# 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()))

Run the code above in your browser using DataLab