Skip to content

Commit 78c2a7b

Browse files
committed
Upgrade to plotly.js to 3.0.3
1 parent e71759b commit 78c2a7b

File tree

292 files changed

+4230
-10131
lines changed

Some content is hidden

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

292 files changed

+4230
-10131
lines changed

codegen/resources/plot-schema.json

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

js/lib/mimeExtension.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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.0.2",
22+
"plotly.js": "3.0.3",
2323
"@lumino/widgets": "~2.4.0"
2424
},
2525
"devDependencies": {

plotly/graph_objs/bar/_insidetextfont.py

Lines changed: 14 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,10 @@ 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 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".
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.
8679
8780
The 'family' property is a string and must be specified as:
8881
- A non-empty string
@@ -402,18 +395,11 @@ def _prop_descriptions(self):
402395
`color`.
403396
family
404397
HTML font family - the typeface that will be applied by
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".
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.
417403
familysrc
418404
Sets the source reference on Chart Studio Cloud for
419405
`family`.
@@ -503,18 +489,11 @@ def __init__(
503489
`color`.
504490
family
505491
HTML font family - the typeface that will be applied by
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".
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.
518497
familysrc
519498
Sets the source reference on Chart Studio Cloud for
520499
`family`.

plotly/graph_objs/bar/_outsidetextfont.py

Lines changed: 14 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,10 @@ 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 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".
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.
8679
8780
The 'family' property is a string and must be specified as:
8881
- A non-empty string
@@ -402,18 +395,11 @@ def _prop_descriptions(self):
402395
`color`.
403396
family
404397
HTML font family - the typeface that will be applied by
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".
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.
417403
familysrc
418404
Sets the source reference on Chart Studio Cloud for
419405
`family`.
@@ -503,18 +489,11 @@ def __init__(
503489
`color`.
504490
family
505491
HTML font family - the typeface that will be applied by
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".
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.
518497
familysrc
519498
Sets the source reference on Chart Studio Cloud for
520499
`family`.

plotly/graph_objs/bar/_textfont.py

Lines changed: 14 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,10 @@ 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 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".
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.
8679
8780
The 'family' property is a string and must be specified as:
8881
- A non-empty string
@@ -402,18 +395,11 @@ def _prop_descriptions(self):
402395
`color`.
403396
family
404397
HTML font family - the typeface that will be applied by
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".
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.
417403
familysrc
418404
Sets the source reference on Chart Studio Cloud for
419405
`family`.
@@ -502,18 +488,11 @@ def __init__(
502488
`color`.
503489
family
504490
HTML font family - the typeface that will be applied by
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".
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.
517496
familysrc
518497
Sets the source reference on Chart Studio Cloud for
519498
`family`.

plotly/graph_objs/bar/hoverlabel/_font.py

Lines changed: 14 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,10 @@ 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 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".
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.
8679
8780
The 'family' property is a string and must be specified as:
8881
- A non-empty string
@@ -402,18 +395,11 @@ def _prop_descriptions(self):
402395
`color`.
403396
family
404397
HTML font family - the typeface that will be applied by
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".
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.
417403
familysrc
418404
Sets the source reference on Chart Studio Cloud for
419405
`family`.
@@ -503,18 +489,11 @@ def __init__(
503489
`color`.
504490
family
505491
HTML font family - the typeface that will be applied by
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".
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.
518497
familysrc
519498
Sets the source reference on Chart Studio Cloud for
520499
`family`.

0 commit comments

Comments
 (0)