Skip to content

Commit f4236c2

Browse files
authored
Merge pull request #5456 from plotly/cam/update-plotly.js-v3.3.1
Update plotly.js to v3.3.1 and associated files
2 parents f265d9b + ca6e55e commit f4236c2

File tree

14 files changed

+98103
-97976
lines changed

14 files changed

+98103
-97976
lines changed

codegen/resources/plot-schema.json

Lines changed: 97869 additions & 97855 deletions
Large diffs are not rendered by default.

js/package-lock.json

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

js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"dependencies": {
2121
"lodash-es": "^4.17.21",
22-
"plotly.js": "3.3.0",
22+
"plotly.js": "3.3.1",
2323
"@lumino/widgets": "~2.4.0"
2424
},
2525
"devDependencies": {

plotly/graph_objs/_figure.py

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12669,6 +12669,7 @@ def add_pie(
1266912669
legendgroup=None,
1267012670
legendgrouptitle=None,
1267112671
legendrank=None,
12672+
legendsrc=None,
1267212673
legendwidth=None,
1267312674
marker=None,
1267412675
meta=None,
@@ -12681,6 +12682,7 @@ def add_pie(
1268112682
rotation=None,
1268212683
scalegroup=None,
1268312684
showlegend=None,
12685+
showlegendsrc=None,
1268412686
sort=None,
1268512687
stream=None,
1268612688
text=None,
@@ -12831,11 +12833,13 @@ def add_pie(
1283112833
Sets the source reference on Chart Studio Cloud for
1283212834
`labels`.
1283312835
legend
12834-
Sets the reference to a legend to show this trace in.
12835-
References to these legends are "legend", "legend2",
12836-
"legend3", etc. Settings for these legends are set in
12837-
the layout, under `layout.legend`, `layout.legend2`,
12838-
etc.
12836+
Sets the reference to a legend to show the pie slices
12837+
in. Can be an array if `values` is set. In that case,
12838+
each entry specifies the legend reference for one
12839+
slice. References to these legends are "legend",
12840+
"legend2", "legend3", etc. Settings for these legends
12841+
are set in the layout, under `layout.legend`,
12842+
`layout.legend2`, etc.
1283912843
legendgroup
1284012844
Sets the legend group for this trace. Traces and shapes
1284112845
part of the same legend group hide/show at the same
@@ -12854,6 +12858,9 @@ def add_pie(
1285412858
unranked or equal rank items shapes would be displayed
1285512859
after traces i.e. according to their order in data and
1285612860
layout.
12861+
legendsrc
12862+
Sets the source reference on Chart Studio Cloud for
12863+
`legend`.
1285712864
legendwidth
1285812865
Sets the width (in px or fraction) of the legend for
1285912866
this trace.
@@ -12901,8 +12908,13 @@ def add_pie(
1290112908
non-empty group id here shared by every trace in the
1290212909
same group.
1290312910
showlegend
12904-
Determines whether or not an item corresponding to this
12905-
trace is shown in the legend.
12911+
Determines whether or not items corresponding to the
12912+
pie slices are shown in the legend. Can be an array if
12913+
`values` is set. In that case, each entry specifies
12914+
appearance in the legend for one slice.
12915+
showlegendsrc
12916+
Sets the source reference on Chart Studio Cloud for
12917+
`showlegend`.
1290612918
sort
1290712919
Determines whether or not the sectors are reordered
1290812920
from largest to smallest.
@@ -13038,6 +13050,7 @@ def add_pie(
1303813050
legendgroup=legendgroup,
1303913051
legendgrouptitle=legendgrouptitle,
1304013052
legendrank=legendrank,
13053+
legendsrc=legendsrc,
1304113054
legendwidth=legendwidth,
1304213055
marker=marker,
1304313056
meta=meta,
@@ -13050,6 +13063,7 @@ def add_pie(
1305013063
rotation=rotation,
1305113064
scalegroup=scalegroup,
1305213065
showlegend=showlegend,
13066+
showlegendsrc=showlegendsrc,
1305313067
sort=sort,
1305413068
stream=stream,
1305513069
text=text,

plotly/graph_objs/_figurewidget.py

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12671,6 +12671,7 @@ def add_pie(
1267112671
legendgroup=None,
1267212672
legendgrouptitle=None,
1267312673
legendrank=None,
12674+
legendsrc=None,
1267412675
legendwidth=None,
1267512676
marker=None,
1267612677
meta=None,
@@ -12683,6 +12684,7 @@ def add_pie(
1268312684
rotation=None,
1268412685
scalegroup=None,
1268512686
showlegend=None,
12687+
showlegendsrc=None,
1268612688
sort=None,
1268712689
stream=None,
1268812690
text=None,
@@ -12833,11 +12835,13 @@ def add_pie(
1283312835
Sets the source reference on Chart Studio Cloud for
1283412836
`labels`.
1283512837
legend
12836-
Sets the reference to a legend to show this trace in.
12837-
References to these legends are "legend", "legend2",
12838-
"legend3", etc. Settings for these legends are set in
12839-
the layout, under `layout.legend`, `layout.legend2`,
12840-
etc.
12838+
Sets the reference to a legend to show the pie slices
12839+
in. Can be an array if `values` is set. In that case,
12840+
each entry specifies the legend reference for one
12841+
slice. References to these legends are "legend",
12842+
"legend2", "legend3", etc. Settings for these legends
12843+
are set in the layout, under `layout.legend`,
12844+
`layout.legend2`, etc.
1284112845
legendgroup
1284212846
Sets the legend group for this trace. Traces and shapes
1284312847
part of the same legend group hide/show at the same
@@ -12856,6 +12860,9 @@ def add_pie(
1285612860
unranked or equal rank items shapes would be displayed
1285712861
after traces i.e. according to their order in data and
1285812862
layout.
12863+
legendsrc
12864+
Sets the source reference on Chart Studio Cloud for
12865+
`legend`.
1285912866
legendwidth
1286012867
Sets the width (in px or fraction) of the legend for
1286112868
this trace.
@@ -12903,8 +12910,13 @@ def add_pie(
1290312910
non-empty group id here shared by every trace in the
1290412911
same group.
1290512912
showlegend
12906-
Determines whether or not an item corresponding to this
12907-
trace is shown in the legend.
12913+
Determines whether or not items corresponding to the
12914+
pie slices are shown in the legend. Can be an array if
12915+
`values` is set. In that case, each entry specifies
12916+
appearance in the legend for one slice.
12917+
showlegendsrc
12918+
Sets the source reference on Chart Studio Cloud for
12919+
`showlegend`.
1290812920
sort
1290912921
Determines whether or not the sectors are reordered
1291012922
from largest to smallest.
@@ -13040,6 +13052,7 @@ def add_pie(
1304013052
legendgroup=legendgroup,
1304113053
legendgrouptitle=legendgrouptitle,
1304213054
legendrank=legendrank,
13055+
legendsrc=legendsrc,
1304313056
legendwidth=legendwidth,
1304413057
marker=marker,
1304513058
meta=meta,
@@ -13052,6 +13065,7 @@ def add_pie(
1305213065
rotation=rotation,
1305313066
scalegroup=scalegroup,
1305413067
showlegend=showlegend,
13068+
showlegendsrc=showlegendsrc,
1305513069
sort=sort,
1305613070
stream=stream,
1305713071
text=text,

0 commit comments

Comments
 (0)