Skip to content

Commit 4ff1c33

Browse files
authored
v4.12.1 release (#2496)
* v4.12.1 release * Fix broken links flagged by urlchecker Replace the dead plotly chart-studio image embed in README with a locally rendered PNG of the actual surface plot code shown above it, and repoint the NEWS webinar link at a Wayback Machine snapshot since the live page is gone.
1 parent 6b74f6f commit 4ff1c33

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: plotly
22
Title: Create Interactive Web Graphics via 'plotly.js'
3-
Version: 4.12.0.9000
3+
Version: 4.12.1
44
Authors@R: c(person("Carson", "Sievert", role = c("aut", "cre"),
55
email = "cpsievert1@gmail.com", comment = c(ORCID = "0000-0002-4958-2844")),
66
person("Chris", "Parmer", role = "aut",

NEWS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# plotly (development version)
1+
# plotly 4.12.1
22

33
* Completed the `plot_ly()` documentation for what happens when `type` is not
44
specified (#2362).
@@ -252,7 +252,7 @@ This is minor patch release with a few minor bug fixes and updates test expectat
252252

253253
## NEW FEATURES & IMPROVEMENTS
254254

255-
* 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/)):
255+
* 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/)):
256256
* 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")`,
257257
* 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`.
258258
* 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")`.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ ggplot2 API won’t ever support (e.g., surface,
100100
plot_ly(z = ~volcano, type = "surface")
101101
```
102102

103-
![<https://plotly.com/~brnvg/1134>](https://plotly.com/~brnvg/1134.png)
103+
<img src="man/figures/README-volcano-surface.png" width="600" />
104104

105105
## Learn more
106106

104 KB
Loading

0 commit comments

Comments
 (0)