Skip to content

Commit a60510e

Browse files
committed
upgrade to plotly.js v1.35.2
1 parent 223d303 commit a60510e

File tree

5 files changed

+16
-5
lines changed

5 files changed

+16
-5
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Package: plotly
22
Title: Create Interactive Web Graphics via 'plotly.js'
33
Version: 4.7.1.9000
44
Authors@R: c(person("Carson", "Sievert", role = c("aut", "cre"),
5-
email = "[email protected]"),
5+
email = "[email protected]", comment = c(ORCID = "0000-0002-4958-2844")),
66
person("Chris", "Parmer", role = "aut",
77
email = "[email protected]"),
88
person("Toby", "Hocking", role = "aut",

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## NEW FEATURES & IMPROVEMENTS
44

5-
* Upgraded to plotly.js v1.35.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.35.2. 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
* Instead of an error, `ggplotly(NULL, "message")` and `plotly_build(NULL, "message")` now returns `htmltools::div("message")`, making it easier to relay messages in shiny when data isn't yet ready to plot (see #1116)
88
* The `animation_button()` function gains a `label` argument, making it easier to control the label of an animation button generated through the `frame` API (see #1205).

R/plotly.R

Lines changed: 1 addition & 1 deletion
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.35.0",
376+
"plotlyjs", "1.35.2",
377377
src = depPath("plotlyjs"),
378378
script = "plotly-latest.min.js",
379379
stylesheet = "plotly-htmlwidgets.css"

inst/CITATION

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
citHeader("To cite plotly in publications use:")
2+
3+
bibentry(
4+
bibtype = "Manual",
5+
title = "plotly for R",
6+
author = personList(as.person("Carson Sievert")),
7+
year = "2018",
8+
url = "https://plotly-book.cpsievert.me",
9+
10+
textVersion = "Carson Sievert (2018) plotly for R. https://plotly-book.cpsievert.me"
11+
)

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

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)