Skip to content

Commit f9b17fe

Browse files
authored
Update plotlyjs to version 1.41.3 (#1202)
1 parent 583303a commit f9b17fe

File tree

237 files changed

+21989
-6601
lines changed

Some content is hidden

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

237 files changed

+21989
-6601
lines changed

Diff for: js/package-lock.json

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

Diff for: js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"ify-loader": "^1.1.0"
3232
},
3333
"dependencies": {
34-
"plotly.js": "1.40.1",
34+
"plotly.js": "1.41.3",
3535
"@jupyter-widgets/base": "^1.0.0",
3636
"lodash": "^4.17.4"
3737
},

Diff for: plotly/graph_objs/__init__.py

+2
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@
6262
from plotly.graph_objs import candlestick
6363
from ._box import Box
6464
from plotly.graph_objs import box
65+
from ._barpolar import Barpolar
66+
from plotly.graph_objs import barpolar
6567
from ._bar import Bar
6668
from plotly.graph_objs import bar
6769
from ._area import Area

Diff for: plotly/graph_objs/_area.py

+38-25
Original file line numberDiff line numberDiff line change
@@ -222,31 +222,38 @@ def marker(self):
222222
Supported dict properties:
223223
224224
color
225-
Sets themarkercolor. It accepts either a
226-
specific color or an array of numbers that are
227-
mapped to the colorscale relative to the max
228-
and min values of the array or relative to
229-
`marker.cmin` and `marker.cmax` if set.
225+
Area traces are deprecated! Please switch to
226+
the "barpolar" trace type. Sets themarkercolor.
227+
It accepts either a specific color or an array
228+
of numbers that are mapped to the colorscale
229+
relative to the max and min values of the array
230+
or relative to `marker.cmin` and `marker.cmax`
231+
if set.
230232
colorsrc
231233
Sets the source reference on plot.ly for color
232234
.
233235
opacity
234-
Sets the marker opacity.
236+
Area traces are deprecated! Please switch to
237+
the "barpolar" trace type. Sets the marker
238+
opacity.
235239
opacitysrc
236240
Sets the source reference on plot.ly for
237241
opacity .
238242
size
239-
Sets the marker size (in px).
243+
Area traces are deprecated! Please switch to
244+
the "barpolar" trace type. Sets the marker size
245+
(in px).
240246
sizesrc
241247
Sets the source reference on plot.ly for size
242248
.
243249
symbol
244-
Sets the marker symbol type. Adding 100 is
245-
equivalent to appending "-open" to a symbol
246-
name. Adding 200 is equivalent to appending
247-
"-dot" to a symbol name. Adding 300 is
248-
equivalent to appending "-open-dot" or "dot-
249-
open" to a symbol name.
250+
Area traces are deprecated! Please switch to
251+
the "barpolar" trace type. Sets the marker
252+
symbol type. Adding 100 is equivalent to
253+
appending "-open" to a symbol name. Adding 200
254+
is equivalent to appending "-dot" to a symbol
255+
name. Adding 300 is equivalent to appending
256+
"-open-dot" or "dot-open" to a symbol name.
250257
symbolsrc
251258
Sets the source reference on plot.ly for
252259
symbol .
@@ -308,8 +315,9 @@ def opacity(self, val):
308315
@property
309316
def r(self):
310317
"""
311-
For legacy polar chart only.Please switch to "scatterpolar"
312-
trace type.Sets the radial coordinates.
318+
Area traces are deprecated! Please switch to the "barpolar"
319+
trace type. Sets the radial coordinates for legacy polar chart
320+
only.
313321
314322
The 'r' property is an array that may be specified as a tuple,
315323
list, numpy array, or pandas Series
@@ -427,8 +435,9 @@ def stream(self, val):
427435
@property
428436
def t(self):
429437
"""
430-
For legacy polar chart only.Please switch to "scatterpolar"
431-
trace type.Sets the angular coordinates.
438+
Area traces are deprecated! Please switch to the "barpolar"
439+
trace type. Sets the angular coordinates for legacy polar chart
440+
only.
432441
433442
The 't' property is an array that may be specified as a tuple,
434443
list, numpy array, or pandas Series
@@ -558,8 +567,9 @@ def _prop_descriptions(self):
558567
opacity
559568
Sets the opacity of the trace.
560569
r
561-
For legacy polar chart only.Please switch to
562-
"scatterpolar" trace type.Sets the radial coordinates.
570+
Area traces are deprecated! Please switch to the
571+
"barpolar" trace type. Sets the radial coordinates for
572+
legacy polar chart only.
563573
rsrc
564574
Sets the source reference on plot.ly for r .
565575
selectedpoints
@@ -576,8 +586,9 @@ def _prop_descriptions(self):
576586
plotly.graph_objs.area.Stream instance or dict with
577587
compatible properties
578588
t
579-
For legacy polar chart only.Please switch to
580-
"scatterpolar" trace type.Sets the angular coordinates.
589+
Area traces are deprecated! Please switch to the
590+
"barpolar" trace type. Sets the angular coordinates for
591+
legacy polar chart only.
581592
tsrc
582593
Sets the source reference on plot.ly for t .
583594
uid
@@ -658,8 +669,9 @@ def __init__(
658669
opacity
659670
Sets the opacity of the trace.
660671
r
661-
For legacy polar chart only.Please switch to
662-
"scatterpolar" trace type.Sets the radial coordinates.
672+
Area traces are deprecated! Please switch to the
673+
"barpolar" trace type. Sets the radial coordinates for
674+
legacy polar chart only.
663675
rsrc
664676
Sets the source reference on plot.ly for r .
665677
selectedpoints
@@ -676,8 +688,9 @@ def __init__(
676688
plotly.graph_objs.area.Stream instance or dict with
677689
compatible properties
678690
t
679-
For legacy polar chart only.Please switch to
680-
"scatterpolar" trace type.Sets the angular coordinates.
691+
Area traces are deprecated! Please switch to the
692+
"barpolar" trace type. Sets the angular coordinates for
693+
legacy polar chart only.
681694
tsrc
682695
Sets the source reference on plot.ly for t .
683696
uid

Diff for: plotly/graph_objs/_bar.py

+18-12
Original file line numberDiff line numberDiff line change
@@ -863,8 +863,9 @@ def outsidetextfont(self, val):
863863
@property
864864
def r(self):
865865
"""
866-
For legacy polar chart only.Please switch to "scatterpolar"
867-
trace type.Sets the radial coordinates.
866+
r coordinates in scatter traces are deprecated!Please switch to
867+
the "scatterpolar" trace type.Sets the radial coordinatesfor
868+
legacy polar chart only.
868869
869870
The 'r' property is an array that may be specified as a tuple,
870871
list, numpy array, or pandas Series
@@ -1012,8 +1013,9 @@ def stream(self, val):
10121013
@property
10131014
def t(self):
10141015
"""
1015-
For legacy polar chart only.Please switch to "scatterpolar"
1016-
trace type.Sets the angular coordinates.
1016+
t coordinates in scatter traces are deprecated!Please switch to
1017+
the "scatterpolar" trace type.Sets the angular coordinatesfor
1018+
legacy polar chart only.
10171019
10181020
The 't' property is an array that may be specified as a tuple,
10191021
list, numpy array, or pandas Series
@@ -1631,8 +1633,9 @@ def _prop_descriptions(self):
16311633
outsidetextfont
16321634
Sets the font used for `text` lying outside the bar.
16331635
r
1634-
For legacy polar chart only.Please switch to
1635-
"scatterpolar" trace type.Sets the radial coordinates.
1636+
r coordinates in scatter traces are deprecated!Please
1637+
switch to the "scatterpolar" trace type.Sets the radial
1638+
coordinatesfor legacy polar chart only.
16361639
rsrc
16371640
Sets the source reference on plot.ly for r .
16381641
selected
@@ -1652,8 +1655,9 @@ def _prop_descriptions(self):
16521655
plotly.graph_objs.bar.Stream instance or dict with
16531656
compatible properties
16541657
t
1655-
For legacy polar chart only.Please switch to
1656-
"scatterpolar" trace type.Sets the angular coordinates.
1658+
t coordinates in scatter traces are deprecated!Please
1659+
switch to the "scatterpolar" trace type.Sets the
1660+
angular coordinatesfor legacy polar chart only.
16571661
text
16581662
Sets text elements associated with each (x,y) pair. If
16591663
a single string, the same string appears over all the
@@ -1881,8 +1885,9 @@ def __init__(
18811885
outsidetextfont
18821886
Sets the font used for `text` lying outside the bar.
18831887
r
1884-
For legacy polar chart only.Please switch to
1885-
"scatterpolar" trace type.Sets the radial coordinates.
1888+
r coordinates in scatter traces are deprecated!Please
1889+
switch to the "scatterpolar" trace type.Sets the radial
1890+
coordinatesfor legacy polar chart only.
18861891
rsrc
18871892
Sets the source reference on plot.ly for r .
18881893
selected
@@ -1902,8 +1907,9 @@ def __init__(
19021907
plotly.graph_objs.bar.Stream instance or dict with
19031908
compatible properties
19041909
t
1905-
For legacy polar chart only.Please switch to
1906-
"scatterpolar" trace type.Sets the angular coordinates.
1910+
t coordinates in scatter traces are deprecated!Please
1911+
switch to the "scatterpolar" trace type.Sets the
1912+
angular coordinatesfor legacy polar chart only.
19071913
text
19081914
Sets text elements associated with each (x,y) pair. If
19091915
a single string, the same string appears over all the

0 commit comments

Comments
 (0)