Skip to content

bump plotly.js to 1.53.0 #2340

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 31, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion packages/javascript/jupyterlab-plotly/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"typescript": "~3.7.0"
},
"dependencies": {
"plotly.js": "^1.52.1",
"plotly.js": "^1.53.0",
"@types/plotly.js": "1.44.28",
"@jupyterlab/rendermime-interfaces": "^1.3.0 || ^2.0.0",
"@lumino/messaging": "^1.2.3",
Expand Down
230 changes: 132 additions & 98 deletions packages/javascript/plotlywidget/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/javascript/plotlywidget/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"typescript": "~3.1.1"
},
"dependencies": {
"plotly.js": "^1.52.2",
"plotly.js": "^1.53.0",
"@jupyter-widgets/base": "^2.0.0 || ^3.0.0",
"lodash": "^4.17.4"
},
Expand Down
3,198 changes: 1,690 additions & 1,508 deletions packages/python/plotly/codegen/resources/plot-schema.json

Large diffs are not rendered by default.

7,301 changes: 4,236 additions & 3,065 deletions packages/python/plotly/plotly/graph_objs/__init__.py

Large diffs are not rendered by default.

1,841 changes: 1,136 additions & 705 deletions packages/python/plotly/plotly/graph_objs/_figure.py

Large diffs are not rendered by default.

1,841 changes: 1,136 additions & 705 deletions packages/python/plotly/plotly/graph_objs/_figurewidget.py

Large diffs are not rendered by default.

102 changes: 61 additions & 41 deletions packages/python/plotly/plotly/graph_objs/area/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ def maxpoints(self, val):
def token(self):
"""
The stream id number links a data trace on a plot with a
stream. See https://plot.ly/settings for more details.
stream. See https://chart-studio.plotly.com/settings for more
details.

The 'token' property is a string and must be specified as:
- A non-empty string
Expand Down Expand Up @@ -65,8 +66,8 @@ def _prop_descriptions(self):
plot.
token
The stream id number links a data trace on a plot with
a stream. See https://plot.ly/settings for more
details.
a stream. See https://chart-studio.plotly.com/settings
for more details.
"""

def __init__(self, arg=None, maxpoints=None, token=None, **kwargs):
Expand All @@ -85,8 +86,8 @@ def __init__(self, arg=None, maxpoints=None, token=None, **kwargs):
plot.
token
The stream id number links a data trace on a plot with
a stream. See https://plot.ly/settings for more
details.
a stream. See https://chart-studio.plotly.com/settings
for more details.

Returns
-------
Expand Down Expand Up @@ -214,7 +215,7 @@ def color(self, val):
@property
def colorsrc(self):
"""
Sets the source reference on plot.ly for color .
Sets the source reference on Chart Studio Cloud for color .

The 'colorsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Expand Down Expand Up @@ -256,7 +257,7 @@ def opacity(self, val):
@property
def opacitysrc(self):
"""
Sets the source reference on plot.ly for opacity .
Sets the source reference on Chart Studio Cloud for opacity .

The 'opacitysrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Expand Down Expand Up @@ -298,7 +299,7 @@ def size(self, val):
@property
def sizesrc(self):
"""
Sets the source reference on plot.ly for size .
Sets the source reference on Chart Studio Cloud for size .

The 'sizesrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Expand Down Expand Up @@ -405,7 +406,7 @@ def symbol(self, val):
@property
def symbolsrc(self):
"""
Sets the source reference on plot.ly for symbol .
Sets the source reference on Chart Studio Cloud for symbol .

The 'symbolsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Expand Down Expand Up @@ -439,17 +440,20 @@ def _prop_descriptions(self):
values of the array or relative to `marker.cmin` and
`marker.cmax` if set.
colorsrc
Sets the source reference on plot.ly for color .
Sets the source reference on Chart Studio Cloud for
color .
opacity
Area traces are deprecated! Please switch to the
"barpolar" trace type. Sets the marker opacity.
opacitysrc
Sets the source reference on plot.ly for opacity .
Sets the source reference on Chart Studio Cloud for
opacity .
size
Area traces are deprecated! Please switch to the
"barpolar" trace type. Sets the marker size (in px).
sizesrc
Sets the source reference on plot.ly for size .
Sets the source reference on Chart Studio Cloud for
size .
symbol
Area traces are deprecated! Please switch to the
"barpolar" trace type. Sets the marker symbol type.
Expand All @@ -458,7 +462,8 @@ def _prop_descriptions(self):
"-dot" to a symbol name. Adding 300 is equivalent to
appending "-open-dot" or "dot-open" to a symbol name.
symbolsrc
Sets the source reference on plot.ly for symbol .
Sets the source reference on Chart Studio Cloud for
symbol .
"""

def __init__(
Expand Down Expand Up @@ -490,17 +495,20 @@ def __init__(
values of the array or relative to `marker.cmin` and
`marker.cmax` if set.
colorsrc
Sets the source reference on plot.ly for color .
Sets the source reference on Chart Studio Cloud for
color .
opacity
Area traces are deprecated! Please switch to the
"barpolar" trace type. Sets the marker opacity.
opacitysrc
Sets the source reference on plot.ly for opacity .
Sets the source reference on Chart Studio Cloud for
opacity .
size
Area traces are deprecated! Please switch to the
"barpolar" trace type. Sets the marker size (in px).
sizesrc
Sets the source reference on plot.ly for size .
Sets the source reference on Chart Studio Cloud for
size .
symbol
Area traces are deprecated! Please switch to the
"barpolar" trace type. Sets the marker symbol type.
Expand All @@ -509,7 +517,8 @@ def __init__(
"-dot" to a symbol name. Adding 300 is equivalent to
appending "-open-dot" or "dot-open" to a symbol name.
symbolsrc
Sets the source reference on plot.ly for symbol .
Sets the source reference on Chart Studio Cloud for
symbol .

Returns
-------
Expand Down Expand Up @@ -615,7 +624,7 @@ def align(self, val):
@property
def alignsrc(self):
"""
Sets the source reference on plot.ly for align .
Sets the source reference on Chart Studio Cloud for align .

The 'alignsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Expand Down Expand Up @@ -695,7 +704,7 @@ def bgcolor(self, val):
@property
def bgcolorsrc(self):
"""
Sets the source reference on plot.ly for bgcolor .
Sets the source reference on Chart Studio Cloud for bgcolor .

The 'bgcolorsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Expand Down Expand Up @@ -775,7 +784,8 @@ def bordercolor(self, val):
@property
def bordercolorsrc(self):
"""
Sets the source reference on plot.ly for bordercolor .
Sets the source reference on Chart Studio Cloud for
bordercolor .

The 'bordercolorsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Expand Down Expand Up @@ -808,8 +818,8 @@ def font(self):
color

colorsrc
Sets the source reference on plot.ly for color
.
Sets the source reference on Chart Studio Cloud
for color .
family
HTML font family - the typeface that will be
applied by the web browser. The web browser
Expand All @@ -818,22 +828,23 @@ def font(self):
Provide multiple font families, separated by
commas, to indicate the preference in which to
apply fonts if they aren't available on the
system. The plotly service (at https://plot.ly
or on-premise) generates images on a server,
where only a select number of fonts are
installed and supported. These include "Arial",
"Balto", "Courier New", "Droid Sans",, "Droid
Serif", "Droid Sans Mono", "Gravitas One", "Old
system. The Chart Studio Cloud (at
https://chart-studio.plotly.com or on-premise)
generates images on a server, where only a
select number of fonts are installed and
supported. These include "Arial", "Balto",
"Courier New", "Droid Sans",, "Droid Serif",
"Droid Sans Mono", "Gravitas One", "Old
Standard TT", "Open Sans", "Overpass", "PT Sans
Narrow", "Raleway", "Times New Roman".
familysrc
Sets the source reference on plot.ly for
family .
Sets the source reference on Chart Studio Cloud
for family .
size

sizesrc
Sets the source reference on plot.ly for size
.
Sets the source reference on Chart Studio Cloud
for size .

Returns
-------
Expand Down Expand Up @@ -877,7 +888,8 @@ def namelength(self, val):
@property
def namelengthsrc(self):
"""
Sets the source reference on plot.ly for namelength .
Sets the source reference on Chart Studio Cloud for namelength
.

The 'namelengthsrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Expand Down Expand Up @@ -908,17 +920,20 @@ def _prop_descriptions(self):
within hover label box. Has an effect only if the hover
label text spans more two or more lines
alignsrc
Sets the source reference on plot.ly for align .
Sets the source reference on Chart Studio Cloud for
align .
bgcolor
Sets the background color of the hover labels for this
trace
bgcolorsrc
Sets the source reference on plot.ly for bgcolor .
Sets the source reference on Chart Studio Cloud for
bgcolor .
bordercolor
Sets the border color of the hover labels for this
trace.
bordercolorsrc
Sets the source reference on plot.ly for bordercolor .
Sets the source reference on Chart Studio Cloud for
bordercolor .
font
Sets the font used in hover labels.
namelength
Expand All @@ -930,7 +945,8 @@ def _prop_descriptions(self):
but if it is longer, will truncate to `namelength - 3`
characters and add an ellipsis.
namelengthsrc
Sets the source reference on plot.ly for namelength .
Sets the source reference on Chart Studio Cloud for
namelength .
"""

def __init__(
Expand Down Expand Up @@ -961,17 +977,20 @@ def __init__(
within hover label box. Has an effect only if the hover
label text spans more two or more lines
alignsrc
Sets the source reference on plot.ly for align .
Sets the source reference on Chart Studio Cloud for
align .
bgcolor
Sets the background color of the hover labels for this
trace
bgcolorsrc
Sets the source reference on plot.ly for bgcolor .
Sets the source reference on Chart Studio Cloud for
bgcolor .
bordercolor
Sets the border color of the hover labels for this
trace.
bordercolorsrc
Sets the source reference on plot.ly for bordercolor .
Sets the source reference on Chart Studio Cloud for
bordercolor .
font
Sets the font used in hover labels.
namelength
Expand All @@ -983,7 +1002,8 @@ def __init__(
but if it is longer, will truncate to `namelength - 3`
characters and add an ellipsis.
namelengthsrc
Sets the source reference on plot.ly for namelength .
Sets the source reference on Chart Studio Cloud for
namelength .

Returns
-------
Expand Down
Loading