Skip to content

Commit e8d195f

Browse files
committed
upgrade to plotly.js v1.33.1
1 parent 635d7da commit e8d195f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

NEWS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## NEW FEATURES & IMPROVEMENTS
44

5-
* Upgraded to plotly.js v1.33.0. A _huge_ amount of features and improvements have been made since v1.29.2 (i.e., the version included in the last CRAN release of the R package - v4.7.1). Highlights include a complete re-write of `scattergl` to make it nearly feature complete with `scatter`, localization of text rendering (i.e., international translations), and two new trace types (`violin` & `table`). Read more about the v1.32.0 release [here](https://codeburst.io/notes-from-the-latest-plotly-js-release-b035a5b43e21) and the complete list of changes [here](https://github.com/plotly/plotly.js/releases).
5+
* Upgraded to plotly.js v1.33.1. A _huge_ amount of features and improvements have been made since v1.29.2 (i.e., the version included in the last CRAN release of the R package - v4.7.1). Highlights include a complete re-write of `scattergl` to make it nearly feature complete with `scatter`, localization of text rendering (i.e., international translations), and two new trace types (`violin` & `table`). Read more about the v1.32.0 release [here](https://codeburst.io/notes-from-the-latest-plotly-js-release-b035a5b43e21) and the complete list of changes [here](https://github.com/plotly/plotly.js/releases).
66
* The selection mode can now switch from 'transient' to 'persistent' by holding the 'shift' key. It's still possible to _force_ persistent selection by setting `persistent = TRUE` in `highlight()`, but `persistent = FALSE` (the default) is now recommended since it allows one to switch between [persistent/transient selection](https://plotly-book.cpsievert.me/linking-views-without-shiny.html#transient-versus-persistent-selection) in the browser, rather than at the command line.
77

88
## CHANGES

R/plotly.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ typedArrayPolyfill <- function() {
373373
# and bundle size at print time.
374374
plotlyMainBundle <- function() {
375375
htmltools::htmlDependency(
376-
"plotlyjs", "1.33.0",
376+
"plotlyjs", "1.33.1",
377377
src = depPath("plotlyjs"),
378378
script = "plotly-latest.min.js",
379379
stylesheet = "plotly-htmlwidgets.css"

inst/htmlwidgets/lib/plotlyjs/plotly-latest.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/plotlyjs.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
library(httr)
22
# download latest GitHub release
3-
# for a particular version: `zip <- "https://github.com/plotly/plotly.js/archive/v1.25.0.zip"`
3+
# for a particular version: `zip <- "https://github.com/plotly/plotly.js/archive/v1.33.1.zip"`
44
x <- GET('https://api.github.com/repos/plotly/plotly.js/releases/latest')
55
zip <- content(x)$zipball_url
66
tmp <- tempfile(fileext = ".zip")

0 commit comments

Comments
 (0)