Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5ae5e41

Browse filesBrowse files
committed
update to plotly.js 1.51.1
1 parent 1d6a5b3 commit 5ae5e41
Copy full SHA for 5ae5e41

File tree

Expand file treeCollapse file tree

9 files changed

+59
-59
lines changed
Filter options
Expand file treeCollapse file tree

9 files changed

+59
-59
lines changed

‎packages/javascript/plotlywidget/package-lock.json

Copy file name to clipboardExpand all lines: packages/javascript/plotlywidget/package-lock.json
+18-18Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/javascript/plotlywidget/package.json

Copy file name to clipboardExpand all lines: packages/javascript/plotlywidget/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"typescript": "~3.1.1"
3636
},
3737
"dependencies": {
38-
"plotly.js": "^1.51.0",
38+
"plotly.js": "^1.51.1",
3939
"@jupyter-widgets/base": "^2.0.0",
4040
"lodash": "^4.17.4"
4141
},

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

Copy file name to clipboardExpand all lines: packages/python/plotly/codegen/resources/plot-schema.json
+11-11Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16848,55 +16848,55 @@
1684816848
],
1684916849
"dflt": "rgb",
1685016850
"role": "info",
16851-
"editType": "plot",
16851+
"editType": "calc",
1685216852
"description": "Color model used to map the numerical color components described in `z` into colors."
1685316853
},
1685416854
"zmin": {
1685516855
"valType": "info_array",
1685616856
"items": [
1685716857
{
1685816858
"valType": "number",
16859-
"editType": "plot"
16859+
"editType": "calc"
1686016860
},
1686116861
{
1686216862
"valType": "number",
16863-
"editType": "plot"
16863+
"editType": "calc"
1686416864
},
1686516865
{
1686616866
"valType": "number",
16867-
"editType": "plot"
16867+
"editType": "calc"
1686816868
},
1686916869
{
1687016870
"valType": "number",
16871-
"editType": "plot"
16871+
"editType": "calc"
1687216872
}
1687316873
],
1687416874
"role": "info",
16875-
"editType": "plot",
16875+
"editType": "calc",
1687616876
"description": "Array defining the lower bound for each color component. Note that the default value will depend on the colormodel. For the `rgb` colormodel, it is [0, 0, 0]. For the `rgba` colormodel, it is [0, 0, 0, 0]. For the `hsl` colormodel, it is [0, 0, 0]. For the `hsla` colormodel, it is [0, 0, 0, 0]."
1687716877
},
1687816878
"zmax": {
1687916879
"valType": "info_array",
1688016880
"items": [
1688116881
{
1688216882
"valType": "number",
16883-
"editType": "plot"
16883+
"editType": "calc"
1688416884
},
1688516885
{
1688616886
"valType": "number",
16887-
"editType": "plot"
16887+
"editType": "calc"
1688816888
},
1688916889
{
1689016890
"valType": "number",
16891-
"editType": "plot"
16891+
"editType": "calc"
1689216892
},
1689316893
{
1689416894
"valType": "number",
16895-
"editType": "plot"
16895+
"editType": "calc"
1689616896
}
1689716897
],
1689816898
"role": "info",
16899-
"editType": "plot",
16899+
"editType": "calc",
1690016900
"description": "Array defining the higher bound for each color component. Note that the default value will depend on the colormodel. For the `rgb` colormodel, it is [255, 255, 255]. For the `rgba` colormodel, it is [255, 255, 255, 1]. For the `hsl` colormodel, it is [360, 100, 100]. For the `hsla` colormodel, it is [360, 100, 100, 1]."
1690116901
},
1690216902
"x0": {

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

Copy file name to clipboardExpand all lines: packages/python/plotly/plotly/graph_objs/_figure.py
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17587,7 +17587,7 @@ def for_each_layout_image(
1758717587
Returns the Figure object that the method was called on
1758817588
"""
1758917589
for obj in self._select_annotations_like(
17590-
prop="images", selector=selector, row=row, col=col, secondary_y=secondary_y
17590+
prop="images", selector=selector, row=row, col=col, secondary_y=secondary_y,
1759117591
):
1759217592
fn(obj)
1759317593

@@ -17640,7 +17640,7 @@ def update_layout_images(
1764017640
Returns the Figure object that the method was called on
1764117641
"""
1764217642
for obj in self._select_annotations_like(
17643-
prop="images", selector=selector, row=row, col=col, secondary_y=secondary_y
17643+
prop="images", selector=selector, row=row, col=col, secondary_y=secondary_y,
1764417644
):
1764517645
obj.update(patch, **kwargs)
1764617646

@@ -17776,7 +17776,7 @@ def add_layout_image(
1777617776
**kwargs
1777717777
)
1777817778
return self._add_annotation_like(
17779-
"image", "images", new_obj, row=row, col=col, secondary_y=secondary_y
17779+
"image", "images", new_obj, row=row, col=col, secondary_y=secondary_y,
1778017780
)
1778117781

1778217782
def select_shapes(self, selector=None, row=None, col=None, secondary_y=None):
@@ -17859,7 +17859,7 @@ def for_each_shape(self, fn, selector=None, row=None, col=None, secondary_y=None
1785917859
Returns the Figure object that the method was called on
1786017860
"""
1786117861
for obj in self._select_annotations_like(
17862-
prop="shapes", selector=selector, row=row, col=col, secondary_y=secondary_y
17862+
prop="shapes", selector=selector, row=row, col=col, secondary_y=secondary_y,
1786317863
):
1786417864
fn(obj)
1786517865

@@ -17912,7 +17912,7 @@ def update_shapes(
1791217912
Returns the Figure object that the method was called on
1791317913
"""
1791417914
for obj in self._select_annotations_like(
17915-
prop="shapes", selector=selector, row=row, col=col, secondary_y=secondary_y
17915+
prop="shapes", selector=selector, row=row, col=col, secondary_y=secondary_y,
1791617916
):
1791717917
obj.update(patch, **kwargs)
1791817918

@@ -18117,5 +18117,5 @@ def add_shape(
1811718117
**kwargs
1811818118
)
1811918119
return self._add_annotation_like(
18120-
"shape", "shapes", new_obj, row=row, col=col, secondary_y=secondary_y
18120+
"shape", "shapes", new_obj, row=row, col=col, secondary_y=secondary_y,
1812118121
)

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

Copy file name to clipboardExpand all lines: packages/python/plotly/plotly/graph_objs/_figurewidget.py
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17587,7 +17587,7 @@ def for_each_layout_image(
1758717587
Returns the Figure object that the method was called on
1758817588
"""
1758917589
for obj in self._select_annotations_like(
17590-
prop="images", selector=selector, row=row, col=col, secondary_y=secondary_y
17590+
prop="images", selector=selector, row=row, col=col, secondary_y=secondary_y,
1759117591
):
1759217592
fn(obj)
1759317593

@@ -17640,7 +17640,7 @@ def update_layout_images(
1764017640
Returns the Figure object that the method was called on
1764117641
"""
1764217642
for obj in self._select_annotations_like(
17643-
prop="images", selector=selector, row=row, col=col, secondary_y=secondary_y
17643+
prop="images", selector=selector, row=row, col=col, secondary_y=secondary_y,
1764417644
):
1764517645
obj.update(patch, **kwargs)
1764617646

@@ -17776,7 +17776,7 @@ def add_layout_image(
1777617776
**kwargs
1777717777
)
1777817778
return self._add_annotation_like(
17779-
"image", "images", new_obj, row=row, col=col, secondary_y=secondary_y
17779+
"image", "images", new_obj, row=row, col=col, secondary_y=secondary_y,
1778017780
)
1778117781

1778217782
def select_shapes(self, selector=None, row=None, col=None, secondary_y=None):
@@ -17859,7 +17859,7 @@ def for_each_shape(self, fn, selector=None, row=None, col=None, secondary_y=None
1785917859
Returns the Figure object that the method was called on
1786017860
"""
1786117861
for obj in self._select_annotations_like(
17862-
prop="shapes", selector=selector, row=row, col=col, secondary_y=secondary_y
17862+
prop="shapes", selector=selector, row=row, col=col, secondary_y=secondary_y,
1786317863
):
1786417864
fn(obj)
1786517865

@@ -17912,7 +17912,7 @@ def update_shapes(
1791217912
Returns the Figure object that the method was called on
1791317913
"""
1791417914
for obj in self._select_annotations_like(
17915-
prop="shapes", selector=selector, row=row, col=col, secondary_y=secondary_y
17915+
prop="shapes", selector=selector, row=row, col=col, secondary_y=secondary_y,
1791617916
):
1791717917
obj.update(patch, **kwargs)
1791817918

@@ -18117,5 +18117,5 @@ def add_shape(
1811718117
**kwargs
1811818118
)
1811918119
return self._add_annotation_like(
18120-
"shape", "shapes", new_obj, row=row, col=col, secondary_y=secondary_y
18120+
"shape", "shapes", new_obj, row=row, col=col, secondary_y=secondary_y,
1812118121
)
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# DO NOT EDIT
22
# This file is generated by the updatebundle setup.py command
3-
__plotlyjs_version__ = "1.51.0"
3+
__plotlyjs_version__ = "1.51.1"

‎packages/python/plotly/plotly/package_data/plotly.min.js

Copy file name to clipboardExpand all lines: packages/python/plotly/plotly/package_data/plotly.min.js
+2-2Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/python/plotly/plotly/validators/image/__init__.py

Copy file name to clipboardExpand all lines: packages/python/plotly/plotly/validators/image/__init__.py
+11-11Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ def __init__(self, plotly_name="zmin", parent_name="image", **kwargs):
2020
super(ZminValidator, self).__init__(
2121
plotly_name=plotly_name,
2222
parent_name=parent_name,
23-
edit_type=kwargs.pop("edit_type", "plot"),
23+
edit_type=kwargs.pop("edit_type", "calc"),
2424
items=kwargs.pop(
2525
"items",
2626
[
27-
{"valType": "number", "editType": "plot"},
28-
{"valType": "number", "editType": "plot"},
29-
{"valType": "number", "editType": "plot"},
30-
{"valType": "number", "editType": "plot"},
27+
{"valType": "number", "editType": "calc"},
28+
{"valType": "number", "editType": "calc"},
29+
{"valType": "number", "editType": "calc"},
30+
{"valType": "number", "editType": "calc"},
3131
],
3232
),
3333
role=kwargs.pop("role", "info"),
@@ -43,14 +43,14 @@ def __init__(self, plotly_name="zmax", parent_name="image", **kwargs):
4343
super(ZmaxValidator, self).__init__(
4444
plotly_name=plotly_name,
4545
parent_name=parent_name,
46-
edit_type=kwargs.pop("edit_type", "plot"),
46+
edit_type=kwargs.pop("edit_type", "calc"),
4747
items=kwargs.pop(
4848
"items",
4949
[
50-
{"valType": "number", "editType": "plot"},
51-
{"valType": "number", "editType": "plot"},
52-
{"valType": "number", "editType": "plot"},
53-
{"valType": "number", "editType": "plot"},
50+
{"valType": "number", "editType": "calc"},
51+
{"valType": "number", "editType": "calc"},
52+
{"valType": "number", "editType": "calc"},
53+
{"valType": "number", "editType": "calc"},
5454
],
5555
),
5656
role=kwargs.pop("role", "info"),
@@ -520,7 +520,7 @@ def __init__(self, plotly_name="colormodel", parent_name="image", **kwargs):
520520
super(ColormodelValidator, self).__init__(
521521
plotly_name=plotly_name,
522522
parent_name=parent_name,
523-
edit_type=kwargs.pop("edit_type", "plot"),
523+
edit_type=kwargs.pop("edit_type", "calc"),
524524
role=kwargs.pop("role", "info"),
525525
values=kwargs.pop("values", ["rgb", "rgba", "hsl", "hsla"]),
526526
**kwargs

‎packages/python/plotly/plotlywidget/static/index.js

Copy file name to clipboardExpand all lines: packages/python/plotly/plotlywidget/static/index.js
+3-3Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.