forked from plotly/plotly.R
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathget_figure.Rd
More file actions
30 lines (28 loc) · 745 Bytes
/
get_figure.Rd
File metadata and controls
30 lines (28 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/figure.R
\name{get_figure}
\alias{get_figure}
\title{Request a figure object}
\usage{
get_figure(username, id)
}
\arguments{
\item{username}{corresponding username for the figure.}
\item{id}{of the Plotly figure.}
}
\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).
}
\examples{
\dontrun{
# 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()))
}
}
\references{
https://plot.ly/rest/
}