Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a938bf5

Browse filesBrowse files
authored
Upgrade to plotly.js v2.2.1 (#1982)
1 parent 2e389a6 commit a938bf5
Copy full SHA for a938bf5

File tree

337 files changed

+382
-355
lines changed
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner

337 files changed

+382
-355
lines changed

‎NEWS.md

Copy file name to clipboardExpand all lines: NEWS.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Changes to plotly.js
44

5-
* This version of the R package upgrades the version of the underlying plotly.js library from v1.57.1 to v2.0.0. This includes many breaking changes, bug fixes, and improvements to the underlying JavaScript library. The [plotly.js release page](https://github.com/plotly/plotly.js/releases) has the full list of changes.
5+
* This version of the R package upgrades the version of the underlying plotly.js library from v1.57.1 to v2.2.1. This includes many breaking changes, bug fixes, and improvements to the underlying JavaScript library. The [plotly.js release page](https://github.com/plotly/plotly.js/releases) has the full list of changes.
66

77
## Breaking changes
88

‎R/plotly.R

Copy file name to clipboardExpand all lines: R/plotly.R
+1-1Lines changed: 1 addition & 1 deletion
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.0.0",
482+
version = "2.2.1",
483483
package = "plotly",
484484
src = dependency_dir("plotlyjs"),
485485
script = "plotly-latest.min.js",

‎R/sysdata.rda

Copy file name to clipboard
2.64 KB
Binary file not shown.

‎inst/examples/shiny/event_data/tests/shinytest/mytest-expected/001.json

Copy file name to clipboardExpand all lines: inst/examples/shiny/event_data/tests/shinytest/mytest-expected/001.json
+8-4Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,10 @@
348348
},
349349
"config": {
350350
"doubleClick": "reset",
351+
"modeBarButtonsToAdd": [
352+
"hoverclosest",
353+
"hovercompare"
354+
],
351355
"showSendToCloud": false
352356
},
353357
"source": "A",
@@ -439,9 +443,9 @@
439443
},
440444
{
441445
"name": "plotly-htmlwidgets-css",
442-
"version": "2.0.0",
446+
"version": "2.2.1",
443447
"src": {
444-
"href": "plotly-htmlwidgets-css-2.0.0"
448+
"href": "plotly-htmlwidgets-css-2.2.1"
445449
},
446450
"meta": null,
447451
"script": null,
@@ -452,9 +456,9 @@
452456
},
453457
{
454458
"name": "plotly-main",
455-
"version": "2.0.0",
459+
"version": "2.2.1",
456460
"src": {
457-
"href": "plotly-main-2.0.0"
461+
"href": "plotly-main-2.2.1"
458462
},
459463
"meta": null,
460464
"script": "plotly-latest.min.js",

‎inst/examples/shiny/event_data/tests/shinytest/mytest-expected/002.json

Copy file name to clipboardExpand all lines: inst/examples/shiny/event_data/tests/shinytest/mytest-expected/002.json
+8-4Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,10 @@
365365
},
366366
"config": {
367367
"doubleClick": "reset",
368+
"modeBarButtonsToAdd": [
369+
"hoverclosest",
370+
"hovercompare"
371+
],
368372
"showSendToCloud": false
369373
},
370374
"source": "A",
@@ -456,9 +460,9 @@
456460
},
457461
{
458462
"name": "plotly-htmlwidgets-css",
459-
"version": "2.0.0",
463+
"version": "2.2.1",
460464
"src": {
461-
"href": "plotly-htmlwidgets-css-2.0.0"
465+
"href": "plotly-htmlwidgets-css-2.2.1"
462466
},
463467
"meta": null,
464468
"script": null,
@@ -469,9 +473,9 @@
469473
},
470474
{
471475
"name": "plotly-main",
472-
"version": "2.0.0",
476+
"version": "2.2.1",
473477
"src": {
474-
"href": "plotly-main-2.0.0"
478+
"href": "plotly-main-2.2.1"
475479
},
476480
"meta": null,
477481
"script": "plotly-latest.min.js",

‎inst/examples/shiny/event_data/tests/shinytest/mytest-expected/003.json

Copy file name to clipboardExpand all lines: inst/examples/shiny/event_data/tests/shinytest/mytest-expected/003.json
+8-4Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,10 @@
369369
},
370370
"config": {
371371
"doubleClick": "reset",
372+
"modeBarButtonsToAdd": [
373+
"hoverclosest",
374+
"hovercompare"
375+
],
372376
"showSendToCloud": false
373377
},
374378
"source": "A",
@@ -460,9 +464,9 @@
460464
},
461465
{
462466
"name": "plotly-htmlwidgets-css",
463-
"version": "2.0.0",
467+
"version": "2.2.1",
464468
"src": {
465-
"href": "plotly-htmlwidgets-css-2.0.0"
469+
"href": "plotly-htmlwidgets-css-2.2.1"
466470
},
467471
"meta": null,
468472
"script": null,
@@ -473,9 +477,9 @@
473477
},
474478
{
475479
"name": "plotly-main",
476-
"version": "2.0.0",
480+
"version": "2.2.1",
477481
"src": {
478-
"href": "plotly-main-2.0.0"
482+
"href": "plotly-main-2.2.1"
479483
},
480484
"meta": null,
481485
"script": "plotly-latest.min.js",

‎inst/examples/shiny/event_data/tests/shinytest/mytest-expected/004.json

Copy file name to clipboardExpand all lines: inst/examples/shiny/event_data/tests/shinytest/mytest-expected/004.json
+8-4Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,10 @@
370370
},
371371
"config": {
372372
"doubleClick": "reset",
373+
"modeBarButtonsToAdd": [
374+
"hoverclosest",
375+
"hovercompare"
376+
],
373377
"showSendToCloud": false
374378
},
375379
"source": "A",
@@ -461,9 +465,9 @@
461465
},
462466
{
463467
"name": "plotly-htmlwidgets-css",
464-
"version": "2.0.0",
468+
"version": "2.2.1",
465469
"src": {
466-
"href": "plotly-htmlwidgets-css-2.0.0"
470+
"href": "plotly-htmlwidgets-css-2.2.1"
467471
},
468472
"meta": null,
469473
"script": null,
@@ -474,9 +478,9 @@
474478
},
475479
{
476480
"name": "plotly-main",
477-
"version": "2.0.0",
481+
"version": "2.2.1",
478482
"src": {
479-
"href": "plotly-main-2.0.0"
483+
"href": "plotly-main-2.2.1"
480484
},
481485
"meta": null,
482486
"script": "plotly-latest.min.js",

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

Copy file name to clipboardExpand all lines: inst/htmlwidgets/lib/plotlyjs/plotly-latest.min.js
+10-10Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor-major.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor-major.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-minor.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-x.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-x.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-y.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-axes/cookbook-axes-blank-y.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-axes/cookbook-axes-coord-ylim.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-axes/cookbook-axes-coord-ylim.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-axes/cookbook-axes-custom-formatter.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-axes/cookbook-axes-custom-formatter.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-axes/cookbook-axes-flevels.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-axes/cookbook-axes-flevels.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-axes/cookbook-axes-fonts.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-axes/cookbook-axes-fonts.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-axes/cookbook-axes-label-funs.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-axes/cookbook-axes-label-funs.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-axes/cookbook-axes-linear-axes.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-axes/cookbook-axes-linear-axes.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-coord.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-coord.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-labels.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-labels.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-scale.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-axes/cookbook-axes-log2-scale.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-axes/cookbook-axes-no-x-title.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-axes/cookbook-axes-no-x-title.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-hide.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-hide.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-name.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-name.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-y-log10-labels.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-y-log10-labels.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-y-log10.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-axes/cookbook-axes-scale-y-log10.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-axes/cookbook-axes-ylim-hide.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-axes/cookbook-axes-ylim-hide.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color-err4.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color-err4.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color-error.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color-error.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-dodge-color.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-diff.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-diff.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-narrow.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-narrow.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading

‎tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-wide.svg

Copy file name to clipboardExpand all lines: tests/testthat/_snaps/cookbook-lines/cookbook-axes-bar-error-wide.svg
+1-1Lines changed: 1 addition & 1 deletion
Loading
+1-1Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.