Skip to content

Commit 23a0068

Browse files
committed
plotlyjs version updates
1 parent 52e0469 commit 23a0068

File tree

299 files changed

+6708
-21
lines changed

Some content is hidden

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

299 files changed

+6708
-21
lines changed

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

Lines changed: 15 additions & 15 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.18.2"
68+
"plotly.js": "^2.19.1"
6969
},
7070
"jupyterlab": {
7171
"extension": "lib/jupyterlab-plugin",

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

Lines changed: 482 additions & 0 deletions
Large diffs are not rendered by default.

packages/python/plotly/plotly/graph_objs/_carpet.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,16 @@ def aaxis(self):
177177
dash length list in px (eg "5px,10px,2px,2px").
178178
gridwidth
179179
Sets the width (in px) of the axis line.
180+
labelalias
181+
Replacement text for specific tick or hover
182+
labels. For example using {US: 'USA', CA:
183+
'Canada'} changes US to USA and CA to Canada.
184+
The labels we would have shown must match the
185+
keys exactly, after adding any tickprefix or
186+
ticksuffix. labelalias can be used with any
187+
axis type, and both keys (if needed) and values
188+
(if desired) can include html-like tags or
189+
MathJax.
180190
labelpadding
181191
Extra padding between label and the axis
182192
labelprefix
@@ -497,6 +507,16 @@ def baxis(self):
497507
dash length list in px (eg "5px,10px,2px,2px").
498508
gridwidth
499509
Sets the width (in px) of the axis line.
510+
labelalias
511+
Replacement text for specific tick or hover
512+
labels. For example using {US: 'USA', CA:
513+
'Canada'} changes US to USA and CA to Canada.
514+
The labels we would have shown must match the
515+
keys exactly, after adding any tickprefix or
516+
ticksuffix. labelalias can be used with any
517+
axis type, and both keys (if needed) and values
518+
(if desired) can include html-like tags or
519+
MathJax.
500520
labelpadding
501521
Extra padding between label and the axis
502522
labelprefix

packages/python/plotly/plotly/graph_objs/_choropleth.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,16 @@ def colorbar(self):
166166
1,000,000,000. If "e", 1e+9. If "E", 1E+9. If
167167
"power", 1x10^9 (with 9 in a super script). If
168168
"SI", 1G. If "B", 1B.
169+
labelalias
170+
Replacement text for specific tick or hover
171+
labels. For example using {US: 'USA', CA:
172+
'Canada'} changes US to USA and CA to Canada.
173+
The labels we would have shown must match the
174+
keys exactly, after adding any tickprefix or
175+
ticksuffix. labelalias can be used with any
176+
axis type, and both keys (if needed) and values
177+
(if desired) can include html-like tags or
178+
MathJax.
169179
len
170180
Sets the length of the color bar This measure
171181
excludes the padding of both ends. That is, the

packages/python/plotly/plotly/graph_objs/_choroplethmapbox.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,16 @@ def colorbar(self):
190190
1,000,000,000. If "e", 1e+9. If "E", 1E+9. If
191191
"power", 1x10^9 (with 9 in a super script). If
192192
"SI", 1G. If "B", 1B.
193+
labelalias
194+
Replacement text for specific tick or hover
195+
labels. For example using {US: 'USA', CA:
196+
'Canada'} changes US to USA and CA to Canada.
197+
The labels we would have shown must match the
198+
keys exactly, after adding any tickprefix or
199+
ticksuffix. labelalias can be used with any
200+
axis type, and both keys (if needed) and values
201+
(if desired) can include html-like tags or
202+
MathJax.
193203
len
194204
Sets the length of the color bar This measure
195205
excludes the padding of both ends. That is, the

packages/python/plotly/plotly/graph_objs/_cone.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,16 @@ def colorbar(self):
292292
1,000,000,000. If "e", 1e+9. If "E", 1E+9. If
293293
"power", 1x10^9 (with 9 in a super script). If
294294
"SI", 1G. If "B", 1B.
295+
labelalias
296+
Replacement text for specific tick or hover
297+
labels. For example using {US: 'USA', CA:
298+
'Canada'} changes US to USA and CA to Canada.
299+
The labels we would have shown must match the
300+
keys exactly, after adding any tickprefix or
301+
ticksuffix. labelalias can be used with any
302+
axis type, and both keys (if needed) and values
303+
(if desired) can include html-like tags or
304+
MathJax.
295305
len
296306
Sets the length of the color bar This measure
297307
excludes the padding of both ends. That is, the

packages/python/plotly/plotly/graph_objs/_contour.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,16 @@ def colorbar(self):
213213
1,000,000,000. If "e", 1e+9. If "E", 1E+9. If
214214
"power", 1x10^9 (with 9 in a super script). If
215215
"SI", 1G. If "B", 1B.
216+
labelalias
217+
Replacement text for specific tick or hover
218+
labels. For example using {US: 'USA', CA:
219+
'Canada'} changes US to USA and CA to Canada.
220+
The labels we would have shown must match the
221+
keys exactly, after adding any tickprefix or
222+
ticksuffix. labelalias can be used with any
223+
axis type, and both keys (if needed) and values
224+
(if desired) can include html-like tags or
225+
MathJax.
216226
len
217227
Sets the length of the color bar This measure
218228
excludes the padding of both ends. That is, the

packages/python/plotly/plotly/graph_objs/_contourcarpet.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,16 @@ def colorbar(self):
386386
1,000,000,000. If "e", 1e+9. If "E", 1E+9. If
387387
"power", 1x10^9 (with 9 in a super script). If
388388
"SI", 1G. If "B", 1B.
389+
labelalias
390+
Replacement text for specific tick or hover
391+
labels. For example using {US: 'USA', CA:
392+
'Canada'} changes US to USA and CA to Canada.
393+
The labels we would have shown must match the
394+
keys exactly, after adding any tickprefix or
395+
ticksuffix. labelalias can be used with any
396+
axis type, and both keys (if needed) and values
397+
(if desired) can include html-like tags or
398+
MathJax.
389399
len
390400
Sets the length of the color bar This measure
391401
excludes the padding of both ends. That is, the

packages/python/plotly/plotly/graph_objs/_densitymapbox.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,16 @@ def colorbar(self):
189189
1,000,000,000. If "e", 1e+9. If "E", 1E+9. If
190190
"power", 1x10^9 (with 9 in a super script). If
191191
"SI", 1G. If "B", 1B.
192+
labelalias
193+
Replacement text for specific tick or hover
194+
labels. For example using {US: 'USA', CA:
195+
'Canada'} changes US to USA and CA to Canada.
196+
The labels we would have shown must match the
197+
keys exactly, after adding any tickprefix or
198+
ticksuffix. labelalias can be used with any
199+
axis type, and both keys (if needed) and values
200+
(if desired) can include html-like tags or
201+
MathJax.
192202
len
193203
Sets the length of the color bar This measure
194204
excludes the padding of both ends. That is, the

packages/python/plotly/plotly/graph_objs/_figure.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23265,6 +23265,7 @@ def add_shape(
2326523265
editable=None,
2326623266
fillcolor=None,
2326723267
fillrule=None,
23268+
label=None,
2326823269
layer=None,
2326923270
line=None,
2327023271
name=None,
@@ -23309,6 +23310,9 @@ def add_shape(
2330923310
the interior. For more info please visit
2331023311
https://developer.mozilla.org/en-
2331123312
US/docs/Web/SVG/Attribute/fill-rule
23313+
label
23314+
:class:`plotly.graph_objects.layout.shape.Label`
23315+
instance or dict with compatible properties
2331223316
layer
2331323317
Specifies whether shapes are drawn below or above
2331423318
traces.
@@ -23471,6 +23475,7 @@ def add_shape(
2347123475
editable=editable,
2347223476
fillcolor=fillcolor,
2347323477
fillrule=fillrule,
23478+
label=label,
2347423479
layer=layer,
2347523480
line=line,
2347623481
name=name,

packages/python/plotly/plotly/graph_objs/_figurewidget.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23271,6 +23271,7 @@ def add_shape(
2327123271
editable=None,
2327223272
fillcolor=None,
2327323273
fillrule=None,
23274+
label=None,
2327423275
layer=None,
2327523276
line=None,
2327623277
name=None,
@@ -23315,6 +23316,9 @@ def add_shape(
2331523316
the interior. For more info please visit
2331623317
https://developer.mozilla.org/en-
2331723318
US/docs/Web/SVG/Attribute/fill-rule
23319+
label
23320+
:class:`plotly.graph_objects.layout.shape.Label`
23321+
instance or dict with compatible properties
2331823322
layer
2331923323
Specifies whether shapes are drawn below or above
2332023324
traces.
@@ -23477,6 +23481,7 @@ def add_shape(
2347723481
editable=editable,
2347823482
fillcolor=fillcolor,
2347923483
fillrule=fillrule,
23484+
label=label,
2348023485
layer=layer,
2348123486
line=line,
2348223487
name=name,

packages/python/plotly/plotly/graph_objs/_heatmap.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,16 @@ def colorbar(self):
188188
1,000,000,000. If "e", 1e+9. If "E", 1E+9. If
189189
"power", 1x10^9 (with 9 in a super script). If
190190
"SI", 1G. If "B", 1B.
191+
labelalias
192+
Replacement text for specific tick or hover
193+
labels. For example using {US: 'USA', CA:
194+
'Canada'} changes US to USA and CA to Canada.
195+
The labels we would have shown must match the
196+
keys exactly, after adding any tickprefix or
197+
ticksuffix. labelalias can be used with any
198+
axis type, and both keys (if needed) and values
199+
(if desired) can include html-like tags or
200+
MathJax.
191201
len
192202
Sets the length of the color bar This measure
193203
excludes the padding of both ends. That is, the

packages/python/plotly/plotly/graph_objs/_heatmapgl.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,16 @@ def colorbar(self):
165165
1,000,000,000. If "e", 1e+9. If "E", 1E+9. If
166166
"power", 1x10^9 (with 9 in a super script). If
167167
"SI", 1G. If "B", 1B.
168+
labelalias
169+
Replacement text for specific tick or hover
170+
labels. For example using {US: 'USA', CA:
171+
'Canada'} changes US to USA and CA to Canada.
172+
The labels we would have shown must match the
173+
keys exactly, after adding any tickprefix or
174+
ticksuffix. labelalias can be used with any
175+
axis type, and both keys (if needed) and values
176+
(if desired) can include html-like tags or
177+
MathJax.
168178
len
169179
Sets the length of the color bar This measure
170180
excludes the padding of both ends. That is, the

packages/python/plotly/plotly/graph_objs/_histogram2d.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,16 @@ def colorbar(self):
250250
1,000,000,000. If "e", 1e+9. If "E", 1E+9. If
251251
"power", 1x10^9 (with 9 in a super script). If
252252
"SI", 1G. If "B", 1B.
253+
labelalias
254+
Replacement text for specific tick or hover
255+
labels. For example using {US: 'USA', CA:
256+
'Canada'} changes US to USA and CA to Canada.
257+
The labels we would have shown must match the
258+
keys exactly, after adding any tickprefix or
259+
ticksuffix. labelalias can be used with any
260+
axis type, and both keys (if needed) and values
261+
(if desired) can include html-like tags or
262+
MathJax.
253263
len
254264
Sets the length of the color bar This measure
255265
excludes the padding of both ends. That is, the

packages/python/plotly/plotly/graph_objs/_histogram2dcontour.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,16 @@ def colorbar(self):
274274
1,000,000,000. If "e", 1e+9. If "E", 1E+9. If
275275
"power", 1x10^9 (with 9 in a super script). If
276276
"SI", 1G. If "B", 1B.
277+
labelalias
278+
Replacement text for specific tick or hover
279+
labels. For example using {US: 'USA', CA:
280+
'Canada'} changes US to USA and CA to Canada.
281+
The labels we would have shown must match the
282+
keys exactly, after adding any tickprefix or
283+
ticksuffix. labelalias can be used with any
284+
axis type, and both keys (if needed) and values
285+
(if desired) can include html-like tags or
286+
MathJax.
277287
len
278288
Sets the length of the color bar This measure
279289
excludes the padding of both ends. That is, the

packages/python/plotly/plotly/graph_objs/_isosurface.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,16 @@ def colorbar(self):
298298
1,000,000,000. If "e", 1e+9. If "E", 1E+9. If
299299
"power", 1x10^9 (with 9 in a super script). If
300300
"SI", 1G. If "B", 1B.
301+
labelalias
302+
Replacement text for specific tick or hover
303+
labels. For example using {US: 'USA', CA:
304+
'Canada'} changes US to USA and CA to Canada.
305+
The labels we would have shown must match the
306+
keys exactly, after adding any tickprefix or
307+
ticksuffix. labelalias can be used with any
308+
axis type, and both keys (if needed) and values
309+
(if desired) can include html-like tags or
310+
MathJax.
301311
len
302312
Sets the length of the color bar This measure
303313
excludes the padding of both ends. That is, the

0 commit comments

Comments
 (0)