Skip to content

Commit aded536

Browse files
committed
update Plotly.js version - 2.25.0
1 parent 2a456e0 commit aded536

File tree

284 files changed

+6116
-2281
lines changed

Some content is hidden

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

284 files changed

+6116
-2281
lines changed

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

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

packages/javascript/jupyterlab-plotly/package.json

Lines changed: 1 addition & 1 deletion
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.24.2"
68+
"plotly.js": "^2.25.0"
6969
},
7070
"jupyterlab": {
7171
"extension": "lib/jupyterlab-plugin",

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

Lines changed: 333 additions & 189 deletions
Large diffs are not rendered by default.

packages/python/plotly/plotly/graph_objs/_bar.py

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -808,9 +808,9 @@ def legend(self, val):
808808
@property
809809
def legendgroup(self):
810810
"""
811-
Sets the legend group for this trace. Traces part of the same
812-
legend group hide/show at the same time when toggling legend
813-
items.
811+
Sets the legend group for this trace. Traces and shapes part of
812+
the same legend group hide/show at the same time when toggling
813+
legend items.
814814
815815
The 'legendgroup' property is a string and must be specified as:
816816
- A string
@@ -861,10 +861,12 @@ def legendrank(self):
861861
"""
862862
Sets the legend rank for this trace. Items and groups with
863863
smaller ranks are presented on top/left side while with
864-
`*reversed* `legend.traceorder` they are on bottom/right side.
864+
"reversed" `legend.traceorder` they are on bottom/right side.
865865
The default legendrank is 1000, so that you can use ranks less
866866
than 1000 to place certain items before all unranked items, and
867-
ranks greater than 1000 to go after all unranked items.
867+
ranks greater than 1000 to go after all unranked items. When
868+
having unranked or equal rank items shapes would be displayed
869+
after traces i.e. according to their order in data and layout.
868870
869871
The 'legendrank' property is a number and may be specified as:
870872
- An int or float
@@ -1073,7 +1075,7 @@ def metasrc(self, val):
10731075
@property
10741076
def name(self):
10751077
"""
1076-
Sets the trace name. The trace name appear as the legend item
1078+
Sets the trace name. The trace name appears as the legend item
10771079
and on hover.
10781080
10791081
The 'name' property is a string and must be specified as:
@@ -2287,20 +2289,23 @@ def _prop_descriptions(self):
22872289
the layout, under `layout.legend`, `layout.legend2`,
22882290
etc.
22892291
legendgroup
2290-
Sets the legend group for this trace. Traces part of
2291-
the same legend group hide/show at the same time when
2292-
toggling legend items.
2292+
Sets the legend group for this trace. Traces and shapes
2293+
part of the same legend group hide/show at the same
2294+
time when toggling legend items.
22932295
legendgrouptitle
22942296
:class:`plotly.graph_objects.bar.Legendgrouptitle`
22952297
instance or dict with compatible properties
22962298
legendrank
22972299
Sets the legend rank for this trace. Items and groups
22982300
with smaller ranks are presented on top/left side while
2299-
with `*reversed* `legend.traceorder` they are on
2301+
with "reversed" `legend.traceorder` they are on
23002302
bottom/right side. The default legendrank is 1000, so
23012303
that you can use ranks less than 1000 to place certain
23022304
items before all unranked items, and ranks greater than
2303-
1000 to go after all unranked items.
2305+
1000 to go after all unranked items. When having
2306+
unranked or equal rank items shapes would be displayed
2307+
after traces i.e. according to their order in data and
2308+
layout.
23042309
legendwidth
23052310
Sets the width (in px or fraction) of the legend for
23062311
this trace.
@@ -2324,7 +2329,7 @@ def _prop_descriptions(self):
23242329
Sets the source reference on Chart Studio Cloud for
23252330
`meta`.
23262331
name
2327-
Sets the trace name. The trace name appear as the
2332+
Sets the trace name. The trace name appears as the
23282333
legend item and on hover.
23292334
offset
23302335
Shifts the position where the bar is drawn (in position
@@ -2744,20 +2749,23 @@ def __init__(
27442749
the layout, under `layout.legend`, `layout.legend2`,
27452750
etc.
27462751
legendgroup
2747-
Sets the legend group for this trace. Traces part of
2748-
the same legend group hide/show at the same time when
2749-
toggling legend items.
2752+
Sets the legend group for this trace. Traces and shapes
2753+
part of the same legend group hide/show at the same
2754+
time when toggling legend items.
27502755
legendgrouptitle
27512756
:class:`plotly.graph_objects.bar.Legendgrouptitle`
27522757
instance or dict with compatible properties
27532758
legendrank
27542759
Sets the legend rank for this trace. Items and groups
27552760
with smaller ranks are presented on top/left side while
2756-
with `*reversed* `legend.traceorder` they are on
2761+
with "reversed" `legend.traceorder` they are on
27572762
bottom/right side. The default legendrank is 1000, so
27582763
that you can use ranks less than 1000 to place certain
27592764
items before all unranked items, and ranks greater than
2760-
1000 to go after all unranked items.
2765+
1000 to go after all unranked items. When having
2766+
unranked or equal rank items shapes would be displayed
2767+
after traces i.e. according to their order in data and
2768+
layout.
27612769
legendwidth
27622770
Sets the width (in px or fraction) of the legend for
27632771
this trace.
@@ -2781,7 +2789,7 @@ def __init__(
27812789
Sets the source reference on Chart Studio Cloud for
27822790
`meta`.
27832791
name
2784-
Sets the trace name. The trace name appear as the
2792+
Sets the trace name. The trace name appears as the
27852793
legend item and on hover.
27862794
offset
27872795
Shifts the position where the bar is drawn (in position

packages/python/plotly/plotly/graph_objs/_barpolar.py

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -472,9 +472,9 @@ def legend(self, val):
472472
@property
473473
def legendgroup(self):
474474
"""
475-
Sets the legend group for this trace. Traces part of the same
476-
legend group hide/show at the same time when toggling legend
477-
items.
475+
Sets the legend group for this trace. Traces and shapes part of
476+
the same legend group hide/show at the same time when toggling
477+
legend items.
478478
479479
The 'legendgroup' property is a string and must be specified as:
480480
- A string
@@ -525,10 +525,12 @@ def legendrank(self):
525525
"""
526526
Sets the legend rank for this trace. Items and groups with
527527
smaller ranks are presented on top/left side while with
528-
`*reversed* `legend.traceorder` they are on bottom/right side.
528+
"reversed" `legend.traceorder` they are on bottom/right side.
529529
The default legendrank is 1000, so that you can use ranks less
530530
than 1000 to place certain items before all unranked items, and
531-
ranks greater than 1000 to go after all unranked items.
531+
ranks greater than 1000 to go after all unranked items. When
532+
having unranked or equal rank items shapes would be displayed
533+
after traces i.e. according to their order in data and layout.
532534
533535
The 'legendrank' property is a number and may be specified as:
534536
- An int or float
@@ -738,7 +740,7 @@ def metasrc(self, val):
738740
@property
739741
def name(self):
740742
"""
741-
Sets the trace name. The trace name appear as the legend item
743+
Sets the trace name. The trace name appears as the legend item
742744
and on hover.
743745
744746
The 'name' property is a string and must be specified as:
@@ -1385,20 +1387,23 @@ def _prop_descriptions(self):
13851387
the layout, under `layout.legend`, `layout.legend2`,
13861388
etc.
13871389
legendgroup
1388-
Sets the legend group for this trace. Traces part of
1389-
the same legend group hide/show at the same time when
1390-
toggling legend items.
1390+
Sets the legend group for this trace. Traces and shapes
1391+
part of the same legend group hide/show at the same
1392+
time when toggling legend items.
13911393
legendgrouptitle
13921394
:class:`plotly.graph_objects.barpolar.Legendgrouptitle`
13931395
instance or dict with compatible properties
13941396
legendrank
13951397
Sets the legend rank for this trace. Items and groups
13961398
with smaller ranks are presented on top/left side while
1397-
with `*reversed* `legend.traceorder` they are on
1399+
with "reversed" `legend.traceorder` they are on
13981400
bottom/right side. The default legendrank is 1000, so
13991401
that you can use ranks less than 1000 to place certain
14001402
items before all unranked items, and ranks greater than
1401-
1000 to go after all unranked items.
1403+
1000 to go after all unranked items. When having
1404+
unranked or equal rank items shapes would be displayed
1405+
after traces i.e. according to their order in data and
1406+
layout.
14021407
legendwidth
14031408
Sets the width (in px or fraction) of the legend for
14041409
this trace.
@@ -1422,7 +1427,7 @@ def _prop_descriptions(self):
14221427
Sets the source reference on Chart Studio Cloud for
14231428
`meta`.
14241429
name
1425-
Sets the trace name. The trace name appear as the
1430+
Sets the trace name. The trace name appears as the
14261431
legend item and on hover.
14271432
offset
14281433
Shifts the angular position where the bar is drawn (in
@@ -1664,20 +1669,23 @@ def __init__(
16641669
the layout, under `layout.legend`, `layout.legend2`,
16651670
etc.
16661671
legendgroup
1667-
Sets the legend group for this trace. Traces part of
1668-
the same legend group hide/show at the same time when
1669-
toggling legend items.
1672+
Sets the legend group for this trace. Traces and shapes
1673+
part of the same legend group hide/show at the same
1674+
time when toggling legend items.
16701675
legendgrouptitle
16711676
:class:`plotly.graph_objects.barpolar.Legendgrouptitle`
16721677
instance or dict with compatible properties
16731678
legendrank
16741679
Sets the legend rank for this trace. Items and groups
16751680
with smaller ranks are presented on top/left side while
1676-
with `*reversed* `legend.traceorder` they are on
1681+
with "reversed" `legend.traceorder` they are on
16771682
bottom/right side. The default legendrank is 1000, so
16781683
that you can use ranks less than 1000 to place certain
16791684
items before all unranked items, and ranks greater than
1680-
1000 to go after all unranked items.
1685+
1000 to go after all unranked items. When having
1686+
unranked or equal rank items shapes would be displayed
1687+
after traces i.e. according to their order in data and
1688+
layout.
16811689
legendwidth
16821690
Sets the width (in px or fraction) of the legend for
16831691
this trace.
@@ -1701,7 +1709,7 @@ def __init__(
17011709
Sets the source reference on Chart Studio Cloud for
17021710
`meta`.
17031711
name
1704-
Sets the trace name. The trace name appear as the
1712+
Sets the trace name. The trace name appears as the
17051713
legend item and on hover.
17061714
offset
17071715
Shifts the angular position where the bar is drawn (in

packages/python/plotly/plotly/graph_objs/_box.py

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -649,9 +649,9 @@ def legend(self, val):
649649
@property
650650
def legendgroup(self):
651651
"""
652-
Sets the legend group for this trace. Traces part of the same
653-
legend group hide/show at the same time when toggling legend
654-
items.
652+
Sets the legend group for this trace. Traces and shapes part of
653+
the same legend group hide/show at the same time when toggling
654+
legend items.
655655
656656
The 'legendgroup' property is a string and must be specified as:
657657
- A string
@@ -702,10 +702,12 @@ def legendrank(self):
702702
"""
703703
Sets the legend rank for this trace. Items and groups with
704704
smaller ranks are presented on top/left side while with
705-
`*reversed* `legend.traceorder` they are on bottom/right side.
705+
"reversed" `legend.traceorder` they are on bottom/right side.
706706
The default legendrank is 1000, so that you can use ranks less
707707
than 1000 to place certain items before all unranked items, and
708-
ranks greater than 1000 to go after all unranked items.
708+
ranks greater than 1000 to go after all unranked items. When
709+
having unranked or equal rank items shapes would be displayed
710+
after traces i.e. according to their order in data and layout.
709711
710712
The 'legendrank' property is a number and may be specified as:
711713
- An int or float
@@ -1001,7 +1003,7 @@ def metasrc(self, val):
10011003
@property
10021004
def name(self):
10031005
"""
1004-
Sets the trace name. The trace name appear as the legend item
1006+
Sets the trace name. The trace name appears as the legend item
10051007
and on hover. For box traces, the name will also be used for
10061008
the position coordinate, if `x` and `x0` (`y` and `y0` if
10071009
horizontal) are missing and the position axis is categorical
@@ -2245,20 +2247,23 @@ def _prop_descriptions(self):
22452247
the layout, under `layout.legend`, `layout.legend2`,
22462248
etc.
22472249
legendgroup
2248-
Sets the legend group for this trace. Traces part of
2249-
the same legend group hide/show at the same time when
2250-
toggling legend items.
2250+
Sets the legend group for this trace. Traces and shapes
2251+
part of the same legend group hide/show at the same
2252+
time when toggling legend items.
22512253
legendgrouptitle
22522254
:class:`plotly.graph_objects.box.Legendgrouptitle`
22532255
instance or dict with compatible properties
22542256
legendrank
22552257
Sets the legend rank for this trace. Items and groups
22562258
with smaller ranks are presented on top/left side while
2257-
with `*reversed* `legend.traceorder` they are on
2259+
with "reversed" `legend.traceorder` they are on
22582260
bottom/right side. The default legendrank is 1000, so
22592261
that you can use ranks less than 1000 to place certain
22602262
items before all unranked items, and ranks greater than
2261-
1000 to go after all unranked items.
2263+
1000 to go after all unranked items. When having
2264+
unranked or equal rank items shapes would be displayed
2265+
after traces i.e. according to their order in data and
2266+
layout.
22622267
legendwidth
22632268
Sets the width (in px or fraction) of the legend for
22642269
this trace.
@@ -2310,7 +2315,7 @@ def _prop_descriptions(self):
23102315
Sets the source reference on Chart Studio Cloud for
23112316
`meta`.
23122317
name
2313-
Sets the trace name. The trace name appear as the
2318+
Sets the trace name. The trace name appears as the
23142319
legend item and on hover. For box traces, the name will
23152320
also be used for the position coordinate, if `x` and
23162321
`x0` (`y` and `y0` if horizontal) are missing and the
@@ -2790,20 +2795,23 @@ def __init__(
27902795
the layout, under `layout.legend`, `layout.legend2`,
27912796
etc.
27922797
legendgroup
2793-
Sets the legend group for this trace. Traces part of
2794-
the same legend group hide/show at the same time when
2795-
toggling legend items.
2798+
Sets the legend group for this trace. Traces and shapes
2799+
part of the same legend group hide/show at the same
2800+
time when toggling legend items.
27962801
legendgrouptitle
27972802
:class:`plotly.graph_objects.box.Legendgrouptitle`
27982803
instance or dict with compatible properties
27992804
legendrank
28002805
Sets the legend rank for this trace. Items and groups
28012806
with smaller ranks are presented on top/left side while
2802-
with `*reversed* `legend.traceorder` they are on
2807+
with "reversed" `legend.traceorder` they are on
28032808
bottom/right side. The default legendrank is 1000, so
28042809
that you can use ranks less than 1000 to place certain
28052810
items before all unranked items, and ranks greater than
2806-
1000 to go after all unranked items.
2811+
1000 to go after all unranked items. When having
2812+
unranked or equal rank items shapes would be displayed
2813+
after traces i.e. according to their order in data and
2814+
layout.
28072815
legendwidth
28082816
Sets the width (in px or fraction) of the legend for
28092817
this trace.
@@ -2855,7 +2863,7 @@ def __init__(
28552863
Sets the source reference on Chart Studio Cloud for
28562864
`meta`.
28572865
name
2858-
Sets the trace name. The trace name appear as the
2866+
Sets the trace name. The trace name appears as the
28592867
legend item and on hover. For box traces, the name will
28602868
also be used for the position coordinate, if `x` and
28612869
`x0` (`y` and `y0` if horizontal) are missing and the

0 commit comments

Comments
 (0)