diff --git a/DESCRIPTION b/DESCRIPTION index 3cbf41b62d..df1f26dcb0 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: plotly Title: Create Interactive Web Graphics via 'plotly.js' -Version: 4.12.0.9000 +Version: 4.12.1 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", diff --git a/NEWS.md b/NEWS.md index 2bf1e22ed5..6581d724aa 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# plotly (development version) +# plotly 4.12.1 * Completed the `plot_ly()` documentation for what happens when `type` is not specified (#2362). @@ -252,7 +252,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://posit.co/resources/videos/accessing-and-responding-to-plotly-events-in-shiny/)): +* Several new features and improvements related to accessing plotly.js events in shiny (learn more about them in this RStudio [webinar](https://web.archive.org/web/20230130014528/https://www.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")`. diff --git a/README.md b/README.md index 5541472798..4d05dbea7c 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ ggplot2 API won’t ever support (e.g., surface, plot_ly(z = ~volcano, type = "surface") ``` -![](https://plotly.com/~brnvg/1134.png) + ## Learn more diff --git a/man/figures/README-volcano-surface.png b/man/figures/README-volcano-surface.png new file mode 100644 index 0000000000..98f9104714 Binary files /dev/null and b/man/figures/README-volcano-surface.png differ