Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 75955b1

Browse files
bumping plotly.js to 1.52.2
1 parent 03f577b commit 75955b1

File tree

16 files changed

+1828
-1840
lines changed

16 files changed

+1828
-1840
lines changed

packages/javascript/plotlywidget/package-lock.json

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

packages/javascript/plotlywidget/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"typescript": "~3.1.1"
3434
},
3535
"dependencies": {
36-
"plotly.js": "^1.52.1",
36+
"plotly.js": "^1.52.2",
3737
"@jupyter-widgets/base": "^2.0.0",
3838
"lodash": "^4.17.4"
3939
},

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17621,7 +17621,7 @@
1762117621
],
1762217622
"dflt": "auto",
1762317623
"editType": "plot",
17624-
"description": "Determines the orientation of text inside slices. With *auto* the texts may automatically be rotated to fit with the maximum size inside the slice. Using *horizontal* option forces text to be horizontal. Using *radial* option forces text to be radial. Using *tangential* option forces text to be tangential."
17624+
"description": "Controls the orientation of the text inside chart sectors. When set to *auto*, text may be oriented in any direction in order to be as big as possible in the middle of a sector. The *horizontal* option orients text to be parallel with the bottom of the chart, and may make text smaller in order to achieve that goal. The *radial* option orients text along the radius of the sector. The *tangential* option orients text perpendicular to the radius of the sector."
1762517625
},
1762617626
"insidetextfont": {
1762717627
"family": {
@@ -19077,7 +19077,7 @@
1907719077
],
1907819078
"dflt": "auto",
1907919079
"editType": "plot",
19080-
"description": "Determines the orientation of text inside slices. With *auto* the texts may automatically be rotated to fit with the maximum size inside the slice. Using *horizontal* option forces text to be horizontal. Using *radial* option forces text to be radial. Using *tangential* option forces text to be tangential."
19080+
"description": "Controls the orientation of the text inside chart sectors. When set to *auto*, text may be oriented in any direction in order to be as big as possible in the middle of a sector. The *horizontal* option orients text to be parallel with the bottom of the chart, and may make text smaller in order to achieve that goal. The *radial* option orients text along the radius of the sector. The *tangential* option orients text perpendicular to the radius of the sector."
1908119081
},
1908219082
"insidetextfont": {
1908319083
"family": {
@@ -46206,7 +46206,7 @@
4620646206
"dflt": "center",
4620746207
"role": "style",
4620846208
"editType": "calc",
46209-
"description": "Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans more two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width.",
46209+
"description": "Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width.",
4621046210
"arrayOk": true
4621146211
},
4621246212
"line": {
@@ -46383,7 +46383,7 @@
4638346383
"dflt": "center",
4638446384
"role": "style",
4638546385
"editType": "calc",
46386-
"description": "Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans more two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width.",
46386+
"description": "Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width.",
4638746387
"arrayOk": true
4638846388
},
4638946389
"line": {
@@ -57324,14 +57324,14 @@
5732457324
"role": "style",
5732557325
"dflt": "#fff",
5732657326
"editType": "plot",
57327-
"description": "Sets the color of paper where the graph is drawn."
57327+
"description": "Sets the background color of the paper where the graph is drawn."
5732857328
},
5732957329
"plot_bgcolor": {
5733057330
"valType": "color",
5733157331
"role": "style",
5733257332
"dflt": "#fff",
5733357333
"editType": "layoutstyle",
57334-
"description": "Sets the color of plotting area in-between x and y axes."
57334+
"description": "Sets the background color of the plotting area in-between x and y axes."
5733557335
},
5733657336
"separators": {
5733757337
"valType": "string",
@@ -63397,7 +63397,7 @@
6339763397
"dflt": "center",
6339863398
"role": "style",
6339963399
"editType": "calc",
63400-
"description": "Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans more two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width."
63400+
"description": "Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width."
6340163401
},
6340263402
"valign": {
6340363403
"valType": "enumerated",
@@ -66133,7 +66133,7 @@
6613366133
"dflt": "center",
6613466134
"role": "style",
6613566135
"editType": "arraydraw",
66136-
"description": "Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans more two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width."
66136+
"description": "Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more <br> HTML tags) or if an explicit width is set to override the text width."
6613766137
},
6613866138
"valign": {
6613966139
"valType": "enumerated",

packages/python/plotly/plotly/graph_objs/__init__.py

Lines changed: 73 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -9014,10 +9014,9 @@ def cells(self):
90149014
align
90159015
Sets the horizontal alignment of the `text`
90169016
within the box. Has an effect only if `text`
9017-
spans more two or more lines (i.e. `text`
9018-
contains one or more <br> HTML tags) or if an
9019-
explicit width is set to override the text
9020-
width.
9017+
spans two or more lines (i.e. `text` contains
9018+
one or more <br> HTML tags) or if an explicit
9019+
width is set to override the text width.
90219020
alignsrc
90229021
Sets the source reference on plot.ly for align
90239022
.
@@ -9252,10 +9251,9 @@ def header(self):
92529251
align
92539252
Sets the horizontal alignment of the `text`
92549253
within the box. Has an effect only if `text`
9255-
spans more two or more lines (i.e. `text`
9256-
contains one or more <br> HTML tags) or if an
9257-
explicit width is set to override the text
9258-
width.
9254+
spans two or more lines (i.e. `text` contains
9255+
one or more <br> HTML tags) or if an explicit
9256+
width is set to override the text width.
92599257
alignsrc
92609258
Sets the source reference on plot.ly for align
92619259
.
@@ -12674,11 +12672,14 @@ def insidetextfont(self, val):
1267412672
@property
1267512673
def insidetextorientation(self):
1267612674
"""
12677-
Determines the orientation of text inside slices. With "auto"
12678-
the texts may automatically be rotated to fit with the maximum
12679-
size inside the slice. Using "horizontal" option forces text to
12680-
be horizontal. Using "radial" option forces text to be radial.
12681-
Using "tangential" option forces text to be tangential.
12675+
Controls the orientation of the text inside chart sectors. When
12676+
set to "auto", text may be oriented in any direction in order
12677+
to be as big as possible in the middle of a sector. The
12678+
"horizontal" option orients text to be parallel with the bottom
12679+
of the chart, and may make text smaller in order to achieve
12680+
that goal. The "radial" option orients text along the radius of
12681+
the sector. The "tangential" option orients text perpendicular
12682+
to the radius of the sector.
1268212683

1268312684
The 'insidetextorientation' property is an enumeration that may be specified as:
1268412685
- One of the following enumeration values:
@@ -13534,12 +13535,15 @@ def _prop_descriptions(self):
1353413535
Sets the font used for `textinfo` lying inside the
1353513536
sector.
1353613537
insidetextorientation
13537-
Determines the orientation of text inside slices. With
13538-
"auto" the texts may automatically be rotated to fit
13539-
with the maximum size inside the slice. Using
13540-
"horizontal" option forces text to be horizontal. Using
13541-
"radial" option forces text to be radial. Using
13542-
"tangential" option forces text to be tangential.
13538+
Controls the orientation of the text inside chart
13539+
sectors. When set to "auto", text may be oriented in
13540+
any direction in order to be as big as possible in the
13541+
middle of a sector. The "horizontal" option orients
13542+
text to be parallel with the bottom of the chart, and
13543+
may make text smaller in order to achieve that goal.
13544+
The "radial" option orients text along the radius of
13545+
the sector. The "tangential" option orients text
13546+
perpendicular to the radius of the sector.
1354313547
labels
1354413548
Sets the labels of each of the sectors.
1354513549
labelssrc
@@ -13802,12 +13806,15 @@ def __init__(
1380213806
Sets the font used for `textinfo` lying inside the
1380313807
sector.
1380413808
insidetextorientation
13805-
Determines the orientation of text inside slices. With
13806-
"auto" the texts may automatically be rotated to fit
13807-
with the maximum size inside the slice. Using
13808-
"horizontal" option forces text to be horizontal. Using
13809-
"radial" option forces text to be radial. Using
13810-
"tangential" option forces text to be tangential.
13809+
Controls the orientation of the text inside chart
13810+
sectors. When set to "auto", text may be oriented in
13811+
any direction in order to be as big as possible in the
13812+
middle of a sector. The "horizontal" option orients
13813+
text to be parallel with the bottom of the chart, and
13814+
may make text smaller in order to achieve that goal.
13815+
The "radial" option orients text along the radius of
13816+
the sector. The "tangential" option orients text
13817+
perpendicular to the radius of the sector.
1381113818
labels
1381213819
Sets the labels of each of the sectors.
1381313820
labelssrc
@@ -41057,11 +41064,14 @@ def insidetextfont(self, val):
4105741064
@property
4105841065
def insidetextorientation(self):
4105941066
"""
41060-
Determines the orientation of text inside slices. With "auto"
41061-
the texts may automatically be rotated to fit with the maximum
41062-
size inside the slice. Using "horizontal" option forces text to
41063-
be horizontal. Using "radial" option forces text to be radial.
41064-
Using "tangential" option forces text to be tangential.
41067+
Controls the orientation of the text inside chart sectors. When
41068+
set to "auto", text may be oriented in any direction in order
41069+
to be as big as possible in the middle of a sector. The
41070+
"horizontal" option orients text to be parallel with the bottom
41071+
of the chart, and may make text smaller in order to achieve
41072+
that goal. The "radial" option orients text along the radius of
41073+
the sector. The "tangential" option orients text perpendicular
41074+
to the radius of the sector.
4106541075

4106641076
The 'insidetextorientation' property is an enumeration that may be specified as:
4106741077
- One of the following enumeration values:
@@ -42060,12 +42070,15 @@ def _prop_descriptions(self):
4206042070
Sets the font used for `textinfo` lying inside the
4206142071
sector.
4206242072
insidetextorientation
42063-
Determines the orientation of text inside slices. With
42064-
"auto" the texts may automatically be rotated to fit
42065-
with the maximum size inside the slice. Using
42066-
"horizontal" option forces text to be horizontal. Using
42067-
"radial" option forces text to be radial. Using
42068-
"tangential" option forces text to be tangential.
42073+
Controls the orientation of the text inside chart
42074+
sectors. When set to "auto", text may be oriented in
42075+
any direction in order to be as big as possible in the
42076+
middle of a sector. The "horizontal" option orients
42077+
text to be parallel with the bottom of the chart, and
42078+
may make text smaller in order to achieve that goal.
42079+
The "radial" option orients text along the radius of
42080+
the sector. The "tangential" option orients text
42081+
perpendicular to the radius of the sector.
4206942082
label0
4207042083
Alternate to `labels`. Builds a numeric set of labels.
4207142084
Use with `dlabel` where `label0` is the starting label
@@ -42365,12 +42378,15 @@ def __init__(
4236542378
Sets the font used for `textinfo` lying inside the
4236642379
sector.
4236742380
insidetextorientation
42368-
Determines the orientation of text inside slices. With
42369-
"auto" the texts may automatically be rotated to fit
42370-
with the maximum size inside the slice. Using
42371-
"horizontal" option forces text to be horizontal. Using
42372-
"radial" option forces text to be radial. Using
42373-
"tangential" option forces text to be tangential.
42381+
Controls the orientation of the text inside chart
42382+
sectors. When set to "auto", text may be oriented in
42383+
any direction in order to be as big as possible in the
42384+
middle of a sector. The "horizontal" option orients
42385+
text to be parallel with the bottom of the chart, and
42386+
may make text smaller in order to achieve that goal.
42387+
The "radial" option orients text along the radius of
42388+
the sector. The "tangential" option orients text
42389+
perpendicular to the radius of the sector.
4237442390
label0
4237542391
Alternate to `labels`. Builds a numeric set of labels.
4237642392
Use with `dlabel` where `label0` is the starting label
@@ -94159,10 +94175,9 @@ def annotations(self):
9415994175
align
9416094176
Sets the horizontal alignment of the `text`
9416194177
within the box. Has an effect only if `text`
94162-
spans more two or more lines (i.e. `text`
94163-
contains one or more <br> HTML tags) or if an
94164-
explicit width is set to override the text
94165-
width.
94178+
spans two or more lines (i.e. `text` contains
94179+
one or more <br> HTML tags) or if an explicit
94180+
width is set to override the text width.
9416694181
arrowcolor
9416794182
Sets the color of the annotation arrow.
9416894183
arrowhead
@@ -96070,7 +96085,8 @@ def orientation(self, val):
9607096085
@property
9607196086
def paper_bgcolor(self):
9607296087
"""
96073-
Sets the color of paper where the graph is drawn.
96088+
Sets the background color of the paper where the graph is
96089+
drawn.
9607496090

9607596091
The 'paper_bgcolor' property is a color and may be specified as:
9607696092
- A hex string (e.g. '#ff0000')
@@ -96153,7 +96169,8 @@ def piecolorway(self, val):
9615396169
@property
9615496170
def plot_bgcolor(self):
9615596171
"""
96156-
Sets the color of plotting area in-between x and y axes.
96172+
Sets the background color of the plotting area in-between x and
96173+
y axes.
9615796174

9615896175
The 'plot_bgcolor' property is a color and may be specified as:
9615996176
- A hex string (e.g. '#ff0000')
@@ -98684,15 +98701,16 @@ def _prop_descriptions(self):
9868498701
"polar" subplots. Rotates the entire polar by the given
9868598702
angle in legacy polar charts.
9868698703
paper_bgcolor
98687-
Sets the color of paper where the graph is drawn.
98704+
Sets the background color of the paper where the graph
98705+
is drawn.
9868898706
piecolorway
9868998707
Sets the default pie slice colors. Defaults to the main
9869098708
`colorway` used for trace colors. If you specify a new
9869198709
list here it can still be extended with lighter and
9869298710
darker colors, see `extendpiecolors`.
9869398711
plot_bgcolor
98694-
Sets the color of plotting area in-between x and y
98695-
axes.
98712+
Sets the background color of the plotting area in-
98713+
between x and y axes.
9869698714
polar
9869798715
plotly.graph_objects.layout.Polar instance or dict with
9869898716
compatible properties
@@ -99198,15 +99216,16 @@ def __init__(
9919899216
"polar" subplots. Rotates the entire polar by the given
9919999217
angle in legacy polar charts.
9920099218
paper_bgcolor
99201-
Sets the color of paper where the graph is drawn.
99219+
Sets the background color of the paper where the graph
99220+
is drawn.
9920299221
piecolorway
9920399222
Sets the default pie slice colors. Defaults to the main
9920499223
`colorway` used for trace colors. If you specify a new
9920599224
list here it can still be extended with lighter and
9920699225
darker colors, see `extendpiecolors`.
9920799226
plot_bgcolor
99208-
Sets the color of plotting area in-between x and y
99209-
axes.
99227+
Sets the background color of the plotting area in-
99228+
between x and y axes.
9921099229
polar
9921199230
plotly.graph_objects.layout.Polar instance or dict with
9921299231
compatible properties

0 commit comments

Comments
 (0)