Skip to content

Commit e71759b

Browse files
committed
Upgrade to plotly.js to 3.0.2
1 parent 6d864c4 commit e71759b

File tree

313 files changed

+10606
-5547
lines changed

Some content is hidden

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

313 files changed

+10606
-5547
lines changed

codegen/resources/plot-schema.json

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

js/install.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"schemaVersion": 1,
3-
"name": "jupyterlab-plotly",
3+
"packageName": "jupyterlab-plotly",
44
"version": "6.0.1",
5+
"packageManager": "python",
56
"jupyterlab": {
67
"mimeExtension": "lib/mimeExtension.js"
78
}
8-
}
9-
9+
}

js/lib/mimeExtension.js

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

js/package-lock.json

Lines changed: 132 additions & 974 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.0.1",
22+
"plotly.js": "3.0.2",
2323
"@lumino/widgets": "~2.4.0"
2424
},
2525
"devDependencies": {

plotly/graph_objs/bar/_error_x.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def tracerefminus(self, val):
216216
def type(self):
217217
"""
218218
Determines the rule used to generate the error bars. If
219-
"constant", the bar lengths are of a constant value. Set this
219+
*constant`, the bar lengths are of a constant value. Set this
220220
constant in `value`. If "percent", the bar lengths correspond
221221
to a percentage of underlying data. Set this percentage in
222222
`value`. If "sqrt", the bar lengths correspond to the square of
@@ -349,7 +349,7 @@ def _prop_descriptions(self):
349349
350350
type
351351
Determines the rule used to generate the error bars. If
352-
"constant", the bar lengths are of a constant value.
352+
*constant`, the bar lengths are of a constant value.
353353
Set this constant in `value`. If "percent", the bar
354354
lengths correspond to a percentage of underlying data.
355355
Set this percentage in `value`. If "sqrt", the bar
@@ -434,7 +434,7 @@ def __init__(
434434
435435
type
436436
Determines the rule used to generate the error bars. If
437-
"constant", the bar lengths are of a constant value.
437+
*constant`, the bar lengths are of a constant value.
438438
Set this constant in `value`. If "percent", the bar
439439
lengths correspond to a percentage of underlying data.
440440
Set this percentage in `value`. If "sqrt", the bar

plotly/graph_objs/bar/_error_y.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def tracerefminus(self, val):
199199
def type(self):
200200
"""
201201
Determines the rule used to generate the error bars. If
202-
"constant", the bar lengths are of a constant value. Set this
202+
*constant`, the bar lengths are of a constant value. Set this
203203
constant in `value`. If "percent", the bar lengths correspond
204204
to a percentage of underlying data. Set this percentage in
205205
`value`. If "sqrt", the bar lengths correspond to the square of
@@ -330,7 +330,7 @@ def _prop_descriptions(self):
330330
331331
type
332332
Determines the rule used to generate the error bars. If
333-
"constant", the bar lengths are of a constant value.
333+
*constant`, the bar lengths are of a constant value.
334334
Set this constant in `value`. If "percent", the bar
335335
lengths correspond to a percentage of underlying data.
336336
Set this percentage in `value`. If "sqrt", the bar
@@ -412,7 +412,7 @@ def __init__(
412412
413413
type
414414
Determines the rule used to generate the error bars. If
415-
"constant", the bar lengths are of a constant value.
415+
*constant`, the bar lengths are of a constant value.
416416
Set this constant in `value`. If "percent", the bar
417417
lengths correspond to a percentage of underlying data.
418418
Set this percentage in `value`. If "sqrt", the bar

plotly/graph_objs/bar/_insidetextfont.py

Lines changed: 35 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,17 @@ def colorsrc(self, val):
7272
def family(self):
7373
"""
7474
HTML font family - the typeface that will be applied by the web
75-
browser. The web browser can only apply a font if it is
76-
available on the system where it runs. Provide multiple font
77-
families, separated by commas, to indicate the order in which
78-
to apply fonts if they aren't available.
75+
browser. The web browser will only be able to apply a font if
76+
it is available on the system which it operates. Provide
77+
multiple font families, separated by commas, to indicate the
78+
preference in which to apply fonts if they aren't available on
79+
the system. The Chart Studio Cloud (at https://chart-
80+
studio.plotly.com or on-premise) generates images on a server,
81+
where only a select number of fonts are installed and
82+
supported. These include "Arial", "Balto", "Courier New",
83+
"Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One",
84+
"Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow",
85+
"Raleway", "Times New Roman".
7986
8087
The 'family' property is a string and must be specified as:
8188
- A non-empty string
@@ -395,11 +402,18 @@ def _prop_descriptions(self):
395402
`color`.
396403
family
397404
HTML font family - the typeface that will be applied by
398-
the web browser. The web browser can only apply a font
399-
if it is available on the system where it runs. Provide
400-
multiple font families, separated by commas, to
401-
indicate the order in which to apply fonts if they
402-
aren't available.
405+
the web browser. The web browser will only be able to
406+
apply a font if it is available on the system which it
407+
operates. Provide multiple font families, separated by
408+
commas, to indicate the preference in which to apply
409+
fonts if they aren't available on the system. The Chart
410+
Studio Cloud (at https://chart-studio.plotly.com or on-
411+
premise) generates images on a server, where only a
412+
select number of fonts are installed and supported.
413+
These include "Arial", "Balto", "Courier New", "Droid
414+
Sans", "Droid Serif", "Droid Sans Mono", "Gravitas
415+
One", "Old Standard TT", "Open Sans", "Overpass", "PT
416+
Sans Narrow", "Raleway", "Times New Roman".
403417
familysrc
404418
Sets the source reference on Chart Studio Cloud for
405419
`family`.
@@ -489,11 +503,18 @@ def __init__(
489503
`color`.
490504
family
491505
HTML font family - the typeface that will be applied by
492-
the web browser. The web browser can only apply a font
493-
if it is available on the system where it runs. Provide
494-
multiple font families, separated by commas, to
495-
indicate the order in which to apply fonts if they
496-
aren't available.
506+
the web browser. The web browser will only be able to
507+
apply a font if it is available on the system which it
508+
operates. Provide multiple font families, separated by
509+
commas, to indicate the preference in which to apply
510+
fonts if they aren't available on the system. The Chart
511+
Studio Cloud (at https://chart-studio.plotly.com or on-
512+
premise) generates images on a server, where only a
513+
select number of fonts are installed and supported.
514+
These include "Arial", "Balto", "Courier New", "Droid
515+
Sans", "Droid Serif", "Droid Sans Mono", "Gravitas
516+
One", "Old Standard TT", "Open Sans", "Overpass", "PT
517+
Sans Narrow", "Raleway", "Times New Roman".
497518
familysrc
498519
Sets the source reference on Chart Studio Cloud for
499520
`family`.

plotly/graph_objs/bar/_outsidetextfont.py

Lines changed: 35 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,17 @@ def colorsrc(self, val):
7272
def family(self):
7373
"""
7474
HTML font family - the typeface that will be applied by the web
75-
browser. The web browser can only apply a font if it is
76-
available on the system where it runs. Provide multiple font
77-
families, separated by commas, to indicate the order in which
78-
to apply fonts if they aren't available.
75+
browser. The web browser will only be able to apply a font if
76+
it is available on the system which it operates. Provide
77+
multiple font families, separated by commas, to indicate the
78+
preference in which to apply fonts if they aren't available on
79+
the system. The Chart Studio Cloud (at https://chart-
80+
studio.plotly.com or on-premise) generates images on a server,
81+
where only a select number of fonts are installed and
82+
supported. These include "Arial", "Balto", "Courier New",
83+
"Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One",
84+
"Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow",
85+
"Raleway", "Times New Roman".
7986
8087
The 'family' property is a string and must be specified as:
8188
- A non-empty string
@@ -395,11 +402,18 @@ def _prop_descriptions(self):
395402
`color`.
396403
family
397404
HTML font family - the typeface that will be applied by
398-
the web browser. The web browser can only apply a font
399-
if it is available on the system where it runs. Provide
400-
multiple font families, separated by commas, to
401-
indicate the order in which to apply fonts if they
402-
aren't available.
405+
the web browser. The web browser will only be able to
406+
apply a font if it is available on the system which it
407+
operates. Provide multiple font families, separated by
408+
commas, to indicate the preference in which to apply
409+
fonts if they aren't available on the system. The Chart
410+
Studio Cloud (at https://chart-studio.plotly.com or on-
411+
premise) generates images on a server, where only a
412+
select number of fonts are installed and supported.
413+
These include "Arial", "Balto", "Courier New", "Droid
414+
Sans", "Droid Serif", "Droid Sans Mono", "Gravitas
415+
One", "Old Standard TT", "Open Sans", "Overpass", "PT
416+
Sans Narrow", "Raleway", "Times New Roman".
403417
familysrc
404418
Sets the source reference on Chart Studio Cloud for
405419
`family`.
@@ -489,11 +503,18 @@ def __init__(
489503
`color`.
490504
family
491505
HTML font family - the typeface that will be applied by
492-
the web browser. The web browser can only apply a font
493-
if it is available on the system where it runs. Provide
494-
multiple font families, separated by commas, to
495-
indicate the order in which to apply fonts if they
496-
aren't available.
506+
the web browser. The web browser will only be able to
507+
apply a font if it is available on the system which it
508+
operates. Provide multiple font families, separated by
509+
commas, to indicate the preference in which to apply
510+
fonts if they aren't available on the system. The Chart
511+
Studio Cloud (at https://chart-studio.plotly.com or on-
512+
premise) generates images on a server, where only a
513+
select number of fonts are installed and supported.
514+
These include "Arial", "Balto", "Courier New", "Droid
515+
Sans", "Droid Serif", "Droid Sans Mono", "Gravitas
516+
One", "Old Standard TT", "Open Sans", "Overpass", "PT
517+
Sans Narrow", "Raleway", "Times New Roman".
497518
familysrc
498519
Sets the source reference on Chart Studio Cloud for
499520
`family`.

plotly/graph_objs/bar/_textfont.py

Lines changed: 35 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,17 @@ def colorsrc(self, val):
7272
def family(self):
7373
"""
7474
HTML font family - the typeface that will be applied by the web
75-
browser. The web browser can only apply a font if it is
76-
available on the system where it runs. Provide multiple font
77-
families, separated by commas, to indicate the order in which
78-
to apply fonts if they aren't available.
75+
browser. The web browser will only be able to apply a font if
76+
it is available on the system which it operates. Provide
77+
multiple font families, separated by commas, to indicate the
78+
preference in which to apply fonts if they aren't available on
79+
the system. The Chart Studio Cloud (at https://chart-
80+
studio.plotly.com or on-premise) generates images on a server,
81+
where only a select number of fonts are installed and
82+
supported. These include "Arial", "Balto", "Courier New",
83+
"Droid Sans", "Droid Serif", "Droid Sans Mono", "Gravitas One",
84+
"Old Standard TT", "Open Sans", "Overpass", "PT Sans Narrow",
85+
"Raleway", "Times New Roman".
7986
8087
The 'family' property is a string and must be specified as:
8188
- A non-empty string
@@ -395,11 +402,18 @@ def _prop_descriptions(self):
395402
`color`.
396403
family
397404
HTML font family - the typeface that will be applied by
398-
the web browser. The web browser can only apply a font
399-
if it is available on the system where it runs. Provide
400-
multiple font families, separated by commas, to
401-
indicate the order in which to apply fonts if they
402-
aren't available.
405+
the web browser. The web browser will only be able to
406+
apply a font if it is available on the system which it
407+
operates. Provide multiple font families, separated by
408+
commas, to indicate the preference in which to apply
409+
fonts if they aren't available on the system. The Chart
410+
Studio Cloud (at https://chart-studio.plotly.com or on-
411+
premise) generates images on a server, where only a
412+
select number of fonts are installed and supported.
413+
These include "Arial", "Balto", "Courier New", "Droid
414+
Sans", "Droid Serif", "Droid Sans Mono", "Gravitas
415+
One", "Old Standard TT", "Open Sans", "Overpass", "PT
416+
Sans Narrow", "Raleway", "Times New Roman".
403417
familysrc
404418
Sets the source reference on Chart Studio Cloud for
405419
`family`.
@@ -488,11 +502,18 @@ def __init__(
488502
`color`.
489503
family
490504
HTML font family - the typeface that will be applied by
491-
the web browser. The web browser can only apply a font
492-
if it is available on the system where it runs. Provide
493-
multiple font families, separated by commas, to
494-
indicate the order in which to apply fonts if they
495-
aren't available.
505+
the web browser. The web browser will only be able to
506+
apply a font if it is available on the system which it
507+
operates. Provide multiple font families, separated by
508+
commas, to indicate the preference in which to apply
509+
fonts if they aren't available on the system. The Chart
510+
Studio Cloud (at https://chart-studio.plotly.com or on-
511+
premise) generates images on a server, where only a
512+
select number of fonts are installed and supported.
513+
These include "Arial", "Balto", "Courier New", "Droid
514+
Sans", "Droid Serif", "Droid Sans Mono", "Gravitas
515+
One", "Old Standard TT", "Open Sans", "Overpass", "PT
516+
Sans Narrow", "Raleway", "Times New Roman".
496517
familysrc
497518
Sets the source reference on Chart Studio Cloud for
498519
`family`.

0 commit comments

Comments
 (0)