get_figure: Request a figure object

Description Usage Arguments References Examples

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

1
get_figure(username, id)

Arguments

username

corresponding username for the figure.

id

of the Plotly figure.

References

https://plot.ly/rest/

Examples

1
2
3
4
5
6
7
## 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()))

## End(Not run)

gvarunkumar/plotly documentation built on May 17, 2019, 9:29 a.m.