From 2cee5d467cdb1b65ce55dd2f0973705329f3e41d Mon Sep 17 00:00:00 2001 From: Carson Date: Thu, 17 Dec 2020 17:24:02 -0600 Subject: [PATCH] Even more URL redirects --- NEWS.md | 10 +++++----- R/animate.R | 2 +- R/subplots.R | 2 +- man/animation.Rd | 2 +- man/subplot.Rd | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/NEWS.md b/NEWS.md index 78f780e9df..f40490ea23 100644 --- a/NEWS.md +++ b/NEWS.md @@ -84,7 +84,7 @@ This is minor patch release with a few minor bug fixes and updates test expectat ## NEW FEATURES & IMPROVEMENTS -* Several new features and improvements related to accessing plotly.js events in shiny (learn more about them in this RStudio [webinar](https://resources.rstudio.com/webinars/accessing-and-responding-to-plotly-events-in-shiny-carson-sievert)): +* Several new features and improvements related to accessing plotly.js events in shiny (learn more about them in this RStudio [webinar](https://rstudio.com/resources/webinars/accessing-and-responding-to-plotly-events-in-shiny/)): * The `event` argument of the `event_data()` function now supports the following events: `plotly_selecting`, `plotly_brushed`, `plotly_brushing`, `plotly_restyle`, `plotly_legendclick`, `plotly_legenddoubleclick`, `plotly_clickannotation`, `plotly_afterplot`, `plotly_doubleclick`, `plotly_deselect`, `plotly_unhover`. For examples, see `plotly_example("shiny", "event_data")`, `plotly_example("shiny", "event_data_legends")`, and `plotly_example("shiny", "event_data_annotation")`, * New `event_register()` and `event_unregister()` functions for declaring which events to transmit over the wire (i.e., from the browser to the shiny server). Events that are likely to have large overhead are not registered by default, so you'll need to register these: `plotly_selecting`, `plotly_unhover`, `plotly_restyle`, `plotly_legendclick`, and `plotly_legenddoubleclick`. * A new `priority` argument. By setting `priority='event'`, the `event` is treated like a true event: any reactive expression using the `event` becomes invalidated (regardless of whether the input values has changed). For an example, see `plotly_example("shiny", "event_priority")`. @@ -247,9 +247,9 @@ This is minor patch release with a few minor bug fixes and updates test expectat ## NEW FEATURES & IMPROVEMENTS -* Added a significant amount of support for "multiple linked views". For some relatively basic examples, see the demos (the ones prefixed with "highlight" are most relevant) -- `demo(package = "plotly")`. For a more comprehensive overview, see . For some more complex examples, see +* Added a significant amount of support for "multiple linked views". For some relatively basic examples, see the demos (the ones prefixed with "highlight" are most relevant) -- `demo(package = "plotly")`. For a more comprehensive overview, see . For some more complex examples, see * 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 +* Added support for animation. For some relatively basic examples, see the examples section of `help(animation)`. For a more thorough overview, see * 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 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()`). @@ -352,7 +352,7 @@ limits. ## NEW FEATURES -* Added the `plot_mapbox()` and `plot_geo()` functions, which make it easier to work with the "scattermapbox", "scattergeo", and "choropleth" trace types. See the maps chapter of the plotly book for some examples -- +* Added the `plot_mapbox()` and `plot_geo()` functions, which make it easier to work with the "scattermapbox", "scattergeo", and "choropleth" trace types. See the maps chapter of the plotly book for some examples -- * `subplot()` now accepts, and correctly scales mapbox objects. * Added the `add_mesh3d()` and `add_pie()` functions as wrappers around the "mesh3d", and "pie" trace types. @@ -442,7 +442,7 @@ limits. ## CHANGES -* vignettes were removed and that documentation will now be hosted at +* vignettes were removed and that documentation will now be hosted at ## BUG FIXES diff --git a/R/animate.R b/R/animate.R index 2ac4839184..58b7763ba6 100644 --- a/R/animate.R +++ b/R/animate.R @@ -57,7 +57,7 @@ #' } #' #' -#' #' # for more, see https://cpsievert.github.io/plotly_book/key-frame-animations.html +#' #' # for more, see https://plotly.com/r/animating-views.html #' animation_opts <- function(p, frame = 500, transition = frame, easing = "linear", redraw = TRUE, mode = "immediate") { diff --git a/R/subplots.R b/R/subplots.R index e22423dd18..5374a11127 100644 --- a/R/subplots.R +++ b/R/subplots.R @@ -57,7 +57,7 @@ #' do(p = plot_ly(., x = ~date, y = ~value)) %>% #' subplot(nrows = NROW(.), shareX = TRUE) #' -#' # learn more at https://cpsievert.github.io/plotly_book/subplot.html +#' # learn more at https://plotly.com/r/subplot.html #' subplot <- function(..., nrows = 1, widths = NULL, heights = NULL, margin = 0.02, diff --git a/man/animation.Rd b/man/animation.Rd index 127312fe02..baaea3cb2e 100644 --- a/man/animation.Rd +++ b/man/animation.Rd @@ -93,7 +93,7 @@ if (interactive()) { } -#' # for more, see https://cpsievert.github.io/plotly_book/key-frame-animations.html +#' # for more, see https://plotly.com/r/animating-views.html } \author{ diff --git a/man/subplot.Rd b/man/subplot.Rd index 1004242a03..3ebca397e4 100644 --- a/man/subplot.Rd +++ b/man/subplot.Rd @@ -88,7 +88,7 @@ economics_long \%>\% do(p = plot_ly(., x = ~date, y = ~value)) \%>\% subplot(nrows = NROW(.), shareX = TRUE) -# learn more at https://cpsievert.github.io/plotly_book/subplot.html +# learn more at https://plotly.com/r/subplot.html } \author{