Skip to content

Commit c8df8e3

Browse files
committed
update plotly.js version to 2.31.0
1 parent 586aeeb commit c8df8e3

Some content is hidden

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

80 files changed

+1353
-65
lines changed

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

+29-11
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.30.0"
68+
"plotly.js": "^2.31.0"
6969
},
7070
"jupyterlab": {
7171
"extension": "lib/jupyterlab-plugin",

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

+111-7
Original file line numberDiff line numberDiff line change
@@ -2634,6 +2634,17 @@
26342634
"y unified"
26352635
]
26362636
},
2637+
"hoversubplots": {
2638+
"description": "Determines expansion of hover effects to other subplots If *single* just the axis pair of the primary point is included without overlaying subplots. If *overlaying* all subplots using the main axis and occupying the same space are included. If *axis*, also include stacked subplots using the same axis when `hovermode` is set to *x*, *x unified*, *y* or *y unified*.",
2639+
"dflt": "overlaying",
2640+
"editType": "none",
2641+
"valType": "enumerated",
2642+
"values": [
2643+
"single",
2644+
"overlaying",
2645+
"axis"
2646+
]
2647+
},
26372648
"images": {
26382649
"items": {
26392650
"image": {
@@ -3720,13 +3731,14 @@
37203731
}
37213732
},
37223733
"layer": {
3723-
"description": "Specifies whether new shapes are drawn below or above traces.",
3734+
"description": "Specifies whether new shapes are drawn below gridlines (*below*), between gridlines and traces (*between*) or above traces (*above*).",
37243735
"dflt": "above",
37253736
"editType": "none",
37263737
"valType": "enumerated",
37273738
"values": [
37283739
"below",
3729-
"above"
3740+
"above",
3741+
"between"
37303742
]
37313743
},
37323744
"legend": {
@@ -7708,13 +7720,14 @@
77087720
}
77097721
},
77107722
"layer": {
7711-
"description": "Specifies whether shapes are drawn below or above traces.",
7723+
"description": "Specifies whether shapes are drawn below gridlines (*below*), between gridlines and traces (*between*) or above traces (*above*).",
77127724
"dflt": "above",
77137725
"editType": "arraydraw",
77147726
"valType": "enumerated",
77157727
"values": [
77167728
"below",
7717-
"above"
7729+
"above",
7730+
"between"
77187731
]
77197732
},
77207733
"legend": {
@@ -14841,6 +14854,12 @@
1484114854
"description": "Sets the source reference on Chart Studio Cloud for `y`.",
1484214855
"editType": "none",
1484314856
"valType": "string"
14857+
},
14858+
"zorder": {
14859+
"description": "Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.",
14860+
"dflt": 0,
14861+
"editType": "plot",
14862+
"valType": "integer"
1484414863
}
1484514864
},
1484614865
"categories": [
@@ -17514,6 +17533,12 @@
1751417533
"description": "Sets the source reference on Chart Studio Cloud for `y`.",
1751517534
"editType": "none",
1751617535
"valType": "string"
17536+
},
17537+
"zorder": {
17538+
"description": "Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.",
17539+
"dflt": 0,
17540+
"editType": "plot",
17541+
"valType": "integer"
1751717542
}
1751817543
},
1751917544
"categories": [
@@ -18062,6 +18087,12 @@
1806218087
"dflt": "",
1806318088
"editType": "none",
1806418089
"valType": "string"
18090+
},
18091+
"zorder": {
18092+
"description": "Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.",
18093+
"dflt": 0,
18094+
"editType": "plot",
18095+
"valType": "integer"
1806518096
}
1806618097
},
1806718098
"categories": [
@@ -19463,6 +19494,12 @@
1946319494
"description": "Sets the source reference on Chart Studio Cloud for `y`.",
1946419495
"editType": "none",
1946519496
"valType": "string"
19497+
},
19498+
"zorder": {
19499+
"description": "Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.",
19500+
"dflt": 0,
19501+
"editType": "plot",
19502+
"valType": "integer"
1946619503
}
1946719504
},
1946819505
"categories": [
@@ -22456,17 +22493,18 @@
2245622493
"valType": "boolean"
2245722494
},
2245822495
"sizemode": {
22459-
"description": "Determines whether `sizeref` is set as a *scaled* (i.e unitless) scalar (normalized by the max u/v/w norm in the vector field) or as *absolute* value (in the same units as the vector field).",
22496+
"description": "Determines whether `sizeref` is set as a *scaled* (i.e unitless) scalar (normalized by the max u/v/w norm in the vector field) or as *absolute* value (in the same units as the vector field). To display sizes in actual vector length use *raw*.",
2246022497
"dflt": "scaled",
2246122498
"editType": "calc",
2246222499
"valType": "enumerated",
2246322500
"values": [
2246422501
"scaled",
22465-
"absolute"
22502+
"absolute",
22503+
"raw"
2246622504
]
2246722505
},
2246822506
"sizeref": {
22469-
"description": "Adjusts the cone size scaling. The size of the cones is determined by their u/v/w norm multiplied a factor and `sizeref`. This factor (computed internally) corresponds to the minimum \"time\" to travel across two successive x/y/z positions at the average velocity of those two successive positions. All cones in a given trace use the same factor. With `sizemode` set to *scaled*, `sizeref` is unitless, its default value is *0.5* With `sizemode` set to *absolute*, `sizeref` has the same units as the u/v/w vector field, its the default value is half the sample's maximum vector norm.",
22507+
"description": "Adjusts the cone size scaling. The size of the cones is determined by their u/v/w norm multiplied a factor and `sizeref`. This factor (computed internally) corresponds to the minimum \"time\" to travel across two successive x/y/z positions at the average velocity of those two successive positions. All cones in a given trace use the same factor. With `sizemode` set to *raw*, its default value is *1*. With `sizemode` set to *scaled*, `sizeref` is unitless, its default value is *0.5*. With `sizemode` set to *absolute*, `sizeref` has the same units as the u/v/w vector field, its the default value is half the sample's maximum vector norm.",
2247022508
"editType": "calc",
2247122509
"min": 0,
2247222510
"valType": "number"
@@ -23960,6 +23998,12 @@
2396023998
},
2396123999
"valType": "number"
2396224000
},
24001+
"zorder": {
24002+
"description": "Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.",
24003+
"dflt": 0,
24004+
"editType": "plot",
24005+
"valType": "integer"
24006+
},
2396324007
"zsrc": {
2396424008
"description": "Sets the source reference on Chart Studio Cloud for `z`.",
2396524009
"editType": "none",
@@ -25009,6 +25053,12 @@
2500925053
},
2501025054
"valType": "number"
2501125055
},
25056+
"zorder": {
25057+
"description": "Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.",
25058+
"dflt": 0,
25059+
"editType": "plot",
25060+
"valType": "integer"
25061+
},
2501225062
"zsrc": {
2501325063
"description": "Sets the source reference on Chart Studio Cloud for `z`.",
2501425064
"editType": "none",
@@ -27394,6 +27444,12 @@
2739427444
"description": "Sets the source reference on Chart Studio Cloud for `y`.",
2739527445
"editType": "none",
2739627446
"valType": "string"
27447+
},
27448+
"zorder": {
27449+
"description": "Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.",
27450+
"dflt": 0,
27451+
"editType": "plot",
27452+
"valType": "integer"
2739727453
}
2739827454
},
2739927455
"categories": [
@@ -29386,6 +29442,12 @@
2938629442
},
2938729443
"valType": "number"
2938829444
},
29445+
"zorder": {
29446+
"description": "Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.",
29447+
"dflt": 0,
29448+
"editType": "plot",
29449+
"valType": "integer"
29450+
},
2938929451
"zsmooth": {
2939029452
"description": "Picks a smoothing algorithm use to smooth `z` data.",
2939129453
"dflt": false,
@@ -32125,6 +32187,12 @@
3212532187
"description": "Sets the source reference on Chart Studio Cloud for `y`.",
3212632188
"editType": "none",
3212732189
"valType": "string"
32190+
},
32191+
"zorder": {
32192+
"description": "Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.",
32193+
"dflt": 0,
32194+
"editType": "plot",
32195+
"valType": "integer"
3212832196
}
3212932197
},
3213032198
"categories": [
@@ -36519,6 +36587,12 @@
3651936587
],
3652036588
"valType": "info_array"
3652136589
},
36590+
"zorder": {
36591+
"description": "Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.",
36592+
"dflt": 0,
36593+
"editType": "plot",
36594+
"valType": "integer"
36595+
},
3652236596
"zsmooth": {
3652336597
"description": "Picks a smoothing algorithm used to smooth `z` data. This only applies for image traces that use the `source` attribute.",
3652436598
"dflt": false,
@@ -40477,6 +40551,12 @@
4047740551
"dflt": "",
4047840552
"editType": "none",
4047940553
"valType": "string"
40554+
},
40555+
"zorder": {
40556+
"description": "Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.",
40557+
"dflt": 0,
40558+
"editType": "plot",
40559+
"valType": "integer"
4048040560
}
4048140561
},
4048240562
"categories": [
@@ -47221,6 +47301,12 @@
4722147301
"description": "Sets the source reference on Chart Studio Cloud for `y`.",
4722247302
"editType": "none",
4722347303
"valType": "string"
47304+
},
47305+
"zorder": {
47306+
"description": "Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.",
47307+
"dflt": 0,
47308+
"editType": "plot",
47309+
"valType": "integer"
4722447310
}
4722547311
},
4722647312
"categories": [
@@ -51448,6 +51534,12 @@
5144851534
"dflt": "y",
5144951535
"editType": "calc+clearAxisTypes",
5145051536
"valType": "subplotid"
51537+
},
51538+
"zorder": {
51539+
"description": "Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.",
51540+
"dflt": 0,
51541+
"editType": "plot",
51542+
"valType": "integer"
5145151543
}
5145251544
},
5145351545
"categories": [
@@ -73396,6 +73488,12 @@
7339673488
"description": "Sets the source reference on Chart Studio Cloud for `y`.",
7339773489
"editType": "none",
7339873490
"valType": "string"
73491+
},
73492+
"zorder": {
73493+
"description": "Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.",
73494+
"dflt": 0,
73495+
"editType": "plot",
73496+
"valType": "integer"
7339973497
}
7340073498
},
7340173499
"categories": [
@@ -75584,6 +75682,12 @@
7558475682
"description": "Sets the source reference on Chart Studio Cloud for `y`.",
7558575683
"editType": "none",
7558675684
"valType": "string"
75685+
},
75686+
"zorder": {
75687+
"description": "Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`.",
75688+
"dflt": 0,
75689+
"editType": "plot",
75690+
"valType": "integer"
7558775691
}
7558875692
},
7558975693
"categories": [

0 commit comments

Comments
 (0)