Skip to content

Commit 7404402

Browse files
bump Plotly.js to 2.4.0
1 parent 6c8a7fa commit 7404402

File tree

963 files changed

+12898
-12783
lines changed

Some content is hidden

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

963 files changed

+12898
-12783
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## UNRELEASED
6+
7+
### Updated
8+
9+
- Updated Plotly.js to from version 2.3.1 to version 2.4.0. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#240----2021-08-27) for more information. These changes are reflected in the auto-generated `plotly.graph_objects` module. Notable changes include:
10+
- Added `legend.groupclick` options
11+
- Provide bbox of hover items in event data
12+
513
## [5.2.2] - 2021-08-23
614

715
### Fixed

packages/javascript/jupyterlab-plotly/package-lock.json

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

packages/javascript/jupyterlab-plotly/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"@lumino/messaging": "^1.2.3",
6666
"@lumino/widgets": "^1.8.1",
6767
"lodash": "^4.17.4",
68-
"plotly.js": "^2.3.1"
68+
"plotly.js": "^2.4.0"
6969
},
7070
"jupyterlab": {
7171
"extension": "lib/jupyterlab-plugin",

packages/python/plotly/codegen/resources/plot-schema.json

+12-2
Original file line numberDiff line numberDiff line change
@@ -2683,8 +2683,18 @@
26832683
"valType": "number"
26842684
}
26852685
},
2686+
"groupclick": {
2687+
"description": "Determines the behavior on legend group item click. *toggleitem* toggles the visibility of the individual item clicked on the graph. *togglegroup* toggles the visibility of all items in the same legendgroup as the item clicked on the graph.",
2688+
"dflt": "togglegroup",
2689+
"editType": "legend",
2690+
"valType": "enumerated",
2691+
"values": [
2692+
"toggleitem",
2693+
"togglegroup"
2694+
]
2695+
},
26862696
"itemclick": {
2687-
"description": "Determines the behavior on legend item click. *toggle* toggles the visibility of the item clicked on the graph. *toggleothers* makes the clicked item the sole visible item on the graph. *false* disable legend item click interactions.",
2697+
"description": "Determines the behavior on legend item click. *toggle* toggles the visibility of the item clicked on the graph. *toggleothers* makes the clicked item the sole visible item on the graph. *false* disables legend item click interactions.",
26882698
"dflt": "toggle",
26892699
"editType": "legend",
26902700
"valType": "enumerated",
@@ -2695,7 +2705,7 @@
26952705
]
26962706
},
26972707
"itemdoubleclick": {
2698-
"description": "Determines the behavior on legend item double-click. *toggle* toggles the visibility of the item clicked on the graph. *toggleothers* makes the clicked item the sole visible item on the graph. *false* disable legend item double-click interactions.",
2708+
"description": "Determines the behavior on legend item double-click. *toggle* toggles the visibility of the item clicked on the graph. *toggleothers* makes the clicked item the sole visible item on the graph. *false* disables legend item double-click interactions.",
26992709
"dflt": "toggleothers",
27002710
"editType": "legend",
27012711
"valType": "enumerated",

0 commit comments

Comments
 (0)