Skip to content

Commit 7797736

Browse files
committed
Minor edits
1 parent 8dd570d commit 7797736

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

R/plotly.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#' \item Styling Layout: py$layout(layout, kwargs=kwargs)
1414
#' \item Utilities: py$get_figure(file_owner, file_id)
1515
#' }
16-
#'
16+
#'
1717
#' @import knitr
1818
#' @import RJSONIO
1919
#' @param username plotly username
@@ -28,8 +28,8 @@
2828
#' @examples \dontrun{
2929
#' ## View https://plot.ly/API for more examples
3030
#' ## Generate a simple plot
31-
#' username <- 'anna.lyst' # fill in with your plotly username
32-
#' api_key <- 'y37zkd' # fill in with your plotly API key
31+
#' username <- 'anna.lyst' # fill in with your plotly username
32+
#' api_key <- 'y37zkd' # fill in with your plotly API key
3333
#' py <- plotly(username, api_key)
3434
#' ## generate some data
3535
#' x <- c(0, 1, 2)
@@ -43,7 +43,7 @@
4343
#' response$url # view your plot at this URL
4444
#' browseURL(response$url) # use browseURL to go to the URL in your browser
4545
#'
46-
#' ## Export ggplots directly to plot.ly.
46+
#' ## Export ggplots directly to plot.ly
4747
#' ggiris <- qplot(Petal.Width, Sepal.Length, data=iris, color=Species)
4848
#' py$ggplotly(ggiris)
4949
#' data(canada.cities, package="maps")

0 commit comments

Comments
 (0)