Skip to content

Commit 4cf2fdb

Browse files
committed
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 dc7458d commit 4cf2fdb

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)