Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: plotly
Title: Create Interactive Web Graphics via 'plotly.js'
Version: 4.11.0
Version: 4.12.0
Authors@R: c(person("Carson", "Sievert", role = c("aut", "cre"),
email = "cpsievert1@gmail.com", comment = c(ORCID = "0000-0002-4958-2844")),
person("Chris", "Parmer", role = "aut",
Expand Down
6 changes: 3 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# plotly (development version)
# plotly 4.12.0

## Changes to plotly.js

Expand Down Expand Up @@ -405,7 +405,7 @@ This is minor patch release with a few minor bug fixes and updates test expectat
* Added the `highlight()` function for configuring selection modes/sequences/options.
* Added support for animation. For some relatively basic examples, see the examples section of `help(animation)`. For a more thorough overview, see <https://plotly-r.com/animating-views.html>
* Added a `frame` argument to `plot_ly()` for creating animations. Also added the `animation_opts()`, `animation_slider()`, and `animation_button()` functions for configuring animation defaults.
* Added a new interface to [v2 of the REST API](https://api.plot.ly/v2). This new interface makes the `plotly_POST()` and `get_figure()` functions obsolete (use `api_create()` and `api_download_plot()` instead), and thus, are now deprecated, but remain around for backwards-compatibility. For more details, see `help(api)`.
* Added a new interface to v2 of the REST API. This new interface makes the `plotly_POST()` and `get_figure()` functions obsolete (use `api_create()` and `api_download_plot()` instead), and thus, are now deprecated, but remain around for backwards-compatibility. For more details, see `help(api)`.
* Added support for conversion of more **ggplot2** geoms via `ggplotly()`: `GeomCol`, `GeomRug`, `GeomCrossbar`, `GeomQuantile`, `GeomSpoke`, `GeomDotplot`, `GeomRasterAnn` (i.e., `annotation_raster()`), and `GeomAnnotationMap` (i.e., `annotation_map()`).
* Added a new function `raster2uri()` which makes it easier to embed raster objects as [images](https://plotly.com/r/reference/#layout-images) via data URIs. For examples, see `help(raster2uri)`.
* `ggplotly()` gains a new argument, `dynamicTicks`, which allows axis ticks to update upon zoom/pan interactions (fixes #485).
Expand Down Expand Up @@ -1182,7 +1182,7 @@ Fixed filename, fileopt arguments in plot_ly. Specifying the same filename will

1.0.8 -- 14 Sep 2015

Added the plotly_IMAGES() function which interfaces to the images endpoint https://api.plot.ly/v2/#images
Added the plotly_IMAGES() function which interfaces to the images endpoint.

Details -> https://github.com/ropensci/plotly/pull/279

Expand Down
22 changes: 10 additions & 12 deletions R/api_exports.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
#' @export
#' @rdname api
#' @author Carson Sievert
#' @references \url{https://api.plot.ly/v2}
#' @seealso [signup()]
#' @examplesIf interactive() || !identical(.Platform$OS.type, "windows")
#'
Expand Down Expand Up @@ -80,30 +79,29 @@
#' api()
#'
#' # search the entire platform!
#' # see https://api.plot.ly/v2/search
#' api("search?q=overdose")
#' api("search?q=plottype:pie trump fake")
#'
#' # these examples will require a user account
#' usr <- Sys.getenv("plotly_username", NA)
#' if (!is.na(usr)) {
#' # your account info https://api.plot.ly/v2/#users
#' # your account info
#' api(sprintf("users/%s", usr))
#' # your folders/files https://api.plot.ly/v2/folders#user
#' # your folders/files
#' api(sprintf("folders/home?user=%s", usr))
#' }
#'
#' # Retrieve a specific file https://api.plot.ly/v2/files#retrieve
#' # Retrieve a specific file
#' api("files/cpsievert:14681")
#'
#' # change the filename https://api.plot.ly/v2/files#update
#'
#' # change the filename
#' # (note: this won't work unless you have proper credentials to the relevant account)
#' api("files/cpsievert:14681", "PATCH", list(filename = "toy file"))
#'
#' # Copy a file https://api.plot.ly/v2/files#lookup
#' api("files/cpsievert:14681", "PATCH", list(filename = "toy file"))
#'
#' # Copy a file
#' api("files/cpsievert:14681/copy", "POST")
#'
#' # Create a folder https://api.plot.ly/v2/folders#create
#'
#' # Create a folder
#' api("folders", "POST", list(path = "/starts/at/root/and/ends/here"))
#'
#' }
Expand Down
18 changes: 7 additions & 11 deletions man/api.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/layout.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading