Skip to content

Commit 37ffef6

Browse files
authored
Update to plotly.js 1.42.3 (#1268)
1 parent caf3ae1 commit 37ffef6

File tree

21 files changed

+924
-865
lines changed

21 files changed

+924
-865
lines changed

js/package-lock.json

+21-21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"ify-loader": "^1.1.0"
3232
},
3333
"dependencies": {
34-
"plotly.js": "1.42.2",
34+
"plotly.js": "1.42.3",
3535
"@jupyter-widgets/base": "^1.0.0",
3636
"lodash": "^4.17.4"
3737
},

plotly/graph_objs/_figure.py

-4
Original file line numberDiff line numberDiff line change
@@ -4973,7 +4973,6 @@ def add_parcats(
49734973
dimensiondefaults=None,
49744974
domain=None,
49754975
hoverinfo=None,
4976-
hoverinfosrc=None,
49774976
hoveron=None,
49784977
labelfont=None,
49794978
line=None,
@@ -5027,8 +5026,6 @@ def add_parcats(
50275026
`none` or `skip` are set, no information is displayed
50285027
upon hovering. But, if `none` is set, click and hover
50295028
events are still fired.
5030-
hoverinfosrc
5031-
Sets the source reference on plot.ly for hoverinfo .
50325029
hoveron
50335030
Sets the hover interaction mode for the parcats
50345031
diagram. If `category`, hover interaction take place
@@ -5083,7 +5080,6 @@ def add_parcats(
50835080
dimensiondefaults=dimensiondefaults,
50845081
domain=domain,
50855082
hoverinfo=hoverinfo,
5086-
hoverinfosrc=hoverinfosrc,
50875083
hoveron=hoveron,
50885084
labelfont=labelfont,
50895085
line=line,

plotly/graph_objs/_figurewidget.py

-4
Original file line numberDiff line numberDiff line change
@@ -4973,7 +4973,6 @@ def add_parcats(
49734973
dimensiondefaults=None,
49744974
domain=None,
49754975
hoverinfo=None,
4976-
hoverinfosrc=None,
49774976
hoveron=None,
49784977
labelfont=None,
49794978
line=None,
@@ -5027,8 +5026,6 @@ def add_parcats(
50275026
`none` or `skip` are set, no information is displayed
50285027
upon hovering. But, if `none` is set, click and hover
50295028
events are still fired.
5030-
hoverinfosrc
5031-
Sets the source reference on plot.ly for hoverinfo .
50325029
hoveron
50335030
Sets the hover interaction mode for the parcats
50345031
diagram. If `category`, hover interaction take place
@@ -5083,7 +5080,6 @@ def add_parcats(
50835080
dimensiondefaults=dimensiondefaults,
50845081
domain=domain,
50855082
hoverinfo=hoverinfo,
5086-
hoverinfosrc=hoverinfosrc,
50875083
hoveron=hoveron,
50885084
labelfont=labelfont,
50895085
line=line,

plotly/graph_objs/_parcats.py

+1-30
Original file line numberDiff line numberDiff line change
@@ -247,38 +247,17 @@ def hoverinfo(self):
247247
- Any combination of ['count', 'probability'] joined with '+' characters
248248
(e.g. 'count+probability')
249249
OR exactly one of ['all', 'none', 'skip'] (e.g. 'skip')
250-
- A list or array of the above
251250
252251
Returns
253252
-------
254-
Any|numpy.ndarray
253+
Any
255254
"""
256255
return self['hoverinfo']
257256

258257
@hoverinfo.setter
259258
def hoverinfo(self, val):
260259
self['hoverinfo'] = val
261260

262-
# hoverinfosrc
263-
# ------------
264-
@property
265-
def hoverinfosrc(self):
266-
"""
267-
Sets the source reference on plot.ly for hoverinfo .
268-
269-
The 'hoverinfosrc' property must be specified as a string or
270-
as a plotly.grid_objs.Column object
271-
272-
Returns
273-
-------
274-
str
275-
"""
276-
return self['hoverinfosrc']
277-
278-
@hoverinfosrc.setter
279-
def hoverinfosrc(self, val):
280-
self['hoverinfosrc'] = val
281-
282261
# hoveron
283262
# -------
284263
@property
@@ -659,8 +638,6 @@ def _prop_descriptions(self):
659638
`none` or `skip` are set, no information is displayed
660639
upon hovering. But, if `none` is set, click and hover
661640
events are still fired.
662-
hoverinfosrc
663-
Sets the source reference on plot.ly for hoverinfo .
664641
hoveron
665642
Sets the hover interaction mode for the parcats
666643
diagram. If `category`, hover interaction take place
@@ -706,7 +683,6 @@ def __init__(
706683
dimensiondefaults=None,
707684
domain=None,
708685
hoverinfo=None,
709-
hoverinfosrc=None,
710686
hoveron=None,
711687
labelfont=None,
712688
line=None,
@@ -761,8 +737,6 @@ def __init__(
761737
`none` or `skip` are set, no information is displayed
762738
upon hovering. But, if `none` is set, click and hover
763739
events are still fired.
764-
hoverinfosrc
765-
Sets the source reference on plot.ly for hoverinfo .
766740
hoveron
767741
Sets the hover interaction mode for the parcats
768742
diagram. If `category`, hover interaction take place
@@ -836,7 +810,6 @@ def __init__(
836810
self._validators['dimensiondefaults'] = v_parcats.DimensionValidator()
837811
self._validators['domain'] = v_parcats.DomainValidator()
838812
self._validators['hoverinfo'] = v_parcats.HoverinfoValidator()
839-
self._validators['hoverinfosrc'] = v_parcats.HoverinfosrcValidator()
840813
self._validators['hoveron'] = v_parcats.HoveronValidator()
841814
self._validators['labelfont'] = v_parcats.LabelfontValidator()
842815
self._validators['line'] = v_parcats.LineValidator()
@@ -866,8 +839,6 @@ def __init__(
866839
self['domain'] = domain if domain is not None else _v
867840
_v = arg.pop('hoverinfo', None)
868841
self['hoverinfo'] = hoverinfo if hoverinfo is not None else _v
869-
_v = arg.pop('hoverinfosrc', None)
870-
self['hoverinfosrc'] = hoverinfosrc if hoverinfosrc is not None else _v
871842
_v = arg.pop('hoveron', None)
872843
self['hoveron'] = hoveron if hoveron is not None else _v
873844
_v = arg.pop('labelfont', None)

plotly/offline/_plotlyjs_version.py

+1-1
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.42.2'
3+
__plotlyjs_version__ = '1.42.3'

plotly/package_data/plot-schema.json

+8-14
Original file line numberDiff line numberDiff line change
@@ -2422,7 +2422,7 @@
24222422
"color": {
24232423
"valType": "color",
24242424
"role": "style",
2425-
"editType": "calc",
2425+
"editType": "style",
24262426
"arrayOk": true
24272427
},
24282428
"editType": "calc",
@@ -2467,7 +2467,7 @@
24672467
"color": {
24682468
"valType": "color",
24692469
"role": "style",
2470-
"editType": "calc",
2470+
"editType": "style",
24712471
"arrayOk": true
24722472
},
24732473
"editType": "calc",
@@ -2512,7 +2512,7 @@
25122512
"color": {
25132513
"valType": "color",
25142514
"role": "style",
2515-
"editType": "calc",
2515+
"editType": "style",
25162516
"arrayOk": true
25172517
},
25182518
"editType": "calc",
@@ -9540,7 +9540,7 @@
95409540
"color": {
95419541
"valType": "color",
95429542
"role": "style",
9543-
"editType": "style",
9543+
"editType": "plot",
95449544
"arrayOk": true
95459545
},
95469546
"editType": "calc",
@@ -9585,7 +9585,7 @@
95859585
"color": {
95869586
"valType": "color",
95879587
"role": "style",
9588-
"editType": "style",
9588+
"editType": "plot",
95899589
"arrayOk": true
95909590
},
95919591
"editType": "calc",
@@ -9630,7 +9630,7 @@
96309630
"color": {
96319631
"valType": "color",
96329632
"role": "style",
9633-
"editType": "style",
9633+
"editType": "plot",
96349634
"arrayOk": true
96359635
},
96369636
"editType": "calc",
@@ -9697,7 +9697,7 @@
96979697
"color": {
96989698
"valType": "color",
96999699
"role": "style",
9700-
"editType": "style",
9700+
"editType": "plot",
97019701
"arrayOk": true
97029702
},
97039703
"editType": "calc",
@@ -27487,7 +27487,7 @@
2748727487
"none",
2748827488
"skip"
2748927489
],
27490-
"arrayOk": true,
27490+
"arrayOk": false,
2749127491
"dflt": "all",
2749227492
"editType": "plot",
2749327493
"description": "Determines which trace information appear on hover. If `none` or `skip` are set, no information is displayed upon hovering. But, if `none` is set, click and hover events are still fired."
@@ -28205,12 +28205,6 @@
2820528205
"editType": "calc",
2820628206
"description": "The number of observations represented by each state. Defaults to 1 so that each state represents one observation"
2820728207
},
28208-
"hoverinfosrc": {
28209-
"valType": "string",
28210-
"role": "info",
28211-
"description": "Sets the source reference on plot.ly for hoverinfo .",
28212-
"editType": "none"
28213-
},
2821428208
"countssrc": {
2821528209
"valType": "string",
2821628210
"role": "info",

plotly/package_data/plotly.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plotly/validators/_parcats.py

-3
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ def __init__(self, plotly_name='parcats', parent_name='', **kwargs):
4545
information is displayed upon hovering. But, if
4646
`none` is set, click and hover events are still
4747
fired.
48-
hoverinfosrc
49-
Sets the source reference on plot.ly for
50-
hoverinfo .
5148
hoveron
5249
Sets the hover interaction mode for the parcats
5350
diagram. If `category`, hover interaction take

plotly/validators/bar/insidetextfont/_color.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def __init__(
1010
plotly_name=plotly_name,
1111
parent_name=parent_name,
1212
array_ok=kwargs.pop('array_ok', True),
13-
edit_type=kwargs.pop('edit_type', 'calc'),
13+
edit_type=kwargs.pop('edit_type', 'style'),
1414
role=kwargs.pop('role', 'style'),
1515
**kwargs
1616
)

plotly/validators/bar/outsidetextfont/_color.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def __init__(
1010
plotly_name=plotly_name,
1111
parent_name=parent_name,
1212
array_ok=kwargs.pop('array_ok', True),
13-
edit_type=kwargs.pop('edit_type', 'calc'),
13+
edit_type=kwargs.pop('edit_type', 'style'),
1414
role=kwargs.pop('role', 'style'),
1515
**kwargs
1616
)

plotly/validators/bar/textfont/_color.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def __init__(
1010
plotly_name=plotly_name,
1111
parent_name=parent_name,
1212
array_ok=kwargs.pop('array_ok', True),
13-
edit_type=kwargs.pop('edit_type', 'calc'),
13+
edit_type=kwargs.pop('edit_type', 'style'),
1414
role=kwargs.pop('role', 'style'),
1515
**kwargs
1616
)

plotly/validators/parcats/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from ._line import LineValidator
88
from ._labelfont import LabelfontValidator
99
from ._hoveron import HoveronValidator
10-
from ._hoverinfosrc import HoverinfosrcValidator
1110
from ._hoverinfo import HoverinfoValidator
1211
from ._domain import DomainValidator
1312
from ._dimensiondefaults import DimensionValidator

0 commit comments

Comments
 (0)