Skip to content

Commit 6e61e07

Browse files
committed
update to plotly.js v2.5.1
1 parent 5b83c64 commit 6e61e07

File tree

4 files changed

+16
-11
lines changed

4 files changed

+16
-11
lines changed

R/plotly.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ typedArrayPolyfill <- function() {
479479
plotlyMainBundle <- function() {
480480
htmltools::htmlDependency(
481481
name = "plotly-main",
482-
version = "2.2.1",
482+
version = "2.5.1",
483483
package = "plotly",
484484
src = dependency_dir("plotlyjs"),
485485
script = "plotly-latest.min.js",

R/sysdata.rda

6.04 KB
Binary file not shown.

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

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

tools/update_plotlyjs.R

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ withr::with_dir(tmpdir, {
4343

4444
# build just the main bundle
4545
# (also builds schema and locales)
46+
system("npm update")
4647
system("npm install")
4748
system("npm run bundle")
4849

0 commit comments

Comments
 (0)