Skip to content

Commit

Permalink
Update to plotly.js 1.42.3 (#1268)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease authored Nov 6, 2018
1 parent caf3ae1 commit 37ffef6
Show file tree
Hide file tree
Showing 21 changed files with 924 additions and 865 deletions.
42 changes: 21 additions & 21 deletions js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"ify-loader": "^1.1.0"
},
"dependencies": {
"plotly.js": "1.42.2",
"plotly.js": "1.42.3",
"@jupyter-widgets/base": "^1.0.0",
"lodash": "^4.17.4"
},
Expand Down
4 changes: 0 additions & 4 deletions plotly/graph_objs/_figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -4973,7 +4973,6 @@ def add_parcats(
dimensiondefaults=None,
domain=None,
hoverinfo=None,
hoverinfosrc=None,
hoveron=None,
labelfont=None,
line=None,
Expand Down Expand Up @@ -5027,8 +5026,6 @@ def add_parcats(
`none` or `skip` are set, no information is displayed
upon hovering. But, if `none` is set, click and hover
events are still fired.
hoverinfosrc
Sets the source reference on plot.ly for hoverinfo .
hoveron
Sets the hover interaction mode for the parcats
diagram. If `category`, hover interaction take place
Expand Down Expand Up @@ -5083,7 +5080,6 @@ def add_parcats(
dimensiondefaults=dimensiondefaults,
domain=domain,
hoverinfo=hoverinfo,
hoverinfosrc=hoverinfosrc,
hoveron=hoveron,
labelfont=labelfont,
line=line,
Expand Down
4 changes: 0 additions & 4 deletions plotly/graph_objs/_figurewidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -4973,7 +4973,6 @@ def add_parcats(
dimensiondefaults=None,
domain=None,
hoverinfo=None,
hoverinfosrc=None,
hoveron=None,
labelfont=None,
line=None,
Expand Down Expand Up @@ -5027,8 +5026,6 @@ def add_parcats(
`none` or `skip` are set, no information is displayed
upon hovering. But, if `none` is set, click and hover
events are still fired.
hoverinfosrc
Sets the source reference on plot.ly for hoverinfo .
hoveron
Sets the hover interaction mode for the parcats
diagram. If `category`, hover interaction take place
Expand Down Expand Up @@ -5083,7 +5080,6 @@ def add_parcats(
dimensiondefaults=dimensiondefaults,
domain=domain,
hoverinfo=hoverinfo,
hoverinfosrc=hoverinfosrc,
hoveron=hoveron,
labelfont=labelfont,
line=line,
Expand Down
31 changes: 1 addition & 30 deletions plotly/graph_objs/_parcats.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,38 +247,17 @@ def hoverinfo(self):
- Any combination of ['count', 'probability'] joined with '+' characters
(e.g. 'count+probability')
OR exactly one of ['all', 'none', 'skip'] (e.g. 'skip')
- A list or array of the above
Returns
-------
Any|numpy.ndarray
Any
"""
return self['hoverinfo']

@hoverinfo.setter
def hoverinfo(self, val):
self['hoverinfo'] = val

# hoverinfosrc
# ------------
@property
def hoverinfosrc(self):
"""
Sets the source reference on plot.ly for hoverinfo .
The 'hoverinfosrc' property must be specified as a string or
as a plotly.grid_objs.Column object
Returns
-------
str
"""
return self['hoverinfosrc']

@hoverinfosrc.setter
def hoverinfosrc(self, val):
self['hoverinfosrc'] = val

# hoveron
# -------
@property
Expand Down Expand Up @@ -659,8 +638,6 @@ def _prop_descriptions(self):
`none` or `skip` are set, no information is displayed
upon hovering. But, if `none` is set, click and hover
events are still fired.
hoverinfosrc
Sets the source reference on plot.ly for hoverinfo .
hoveron
Sets the hover interaction mode for the parcats
diagram. If `category`, hover interaction take place
Expand Down Expand Up @@ -706,7 +683,6 @@ def __init__(
dimensiondefaults=None,
domain=None,
hoverinfo=None,
hoverinfosrc=None,
hoveron=None,
labelfont=None,
line=None,
Expand Down Expand Up @@ -761,8 +737,6 @@ def __init__(
`none` or `skip` are set, no information is displayed
upon hovering. But, if `none` is set, click and hover
events are still fired.
hoverinfosrc
Sets the source reference on plot.ly for hoverinfo .
hoveron
Sets the hover interaction mode for the parcats
diagram. If `category`, hover interaction take place
Expand Down Expand Up @@ -836,7 +810,6 @@ def __init__(
self._validators['dimensiondefaults'] = v_parcats.DimensionValidator()
self._validators['domain'] = v_parcats.DomainValidator()
self._validators['hoverinfo'] = v_parcats.HoverinfoValidator()
self._validators['hoverinfosrc'] = v_parcats.HoverinfosrcValidator()
self._validators['hoveron'] = v_parcats.HoveronValidator()
self._validators['labelfont'] = v_parcats.LabelfontValidator()
self._validators['line'] = v_parcats.LineValidator()
Expand Down Expand Up @@ -866,8 +839,6 @@ def __init__(
self['domain'] = domain if domain is not None else _v
_v = arg.pop('hoverinfo', None)
self['hoverinfo'] = hoverinfo if hoverinfo is not None else _v
_v = arg.pop('hoverinfosrc', None)
self['hoverinfosrc'] = hoverinfosrc if hoverinfosrc is not None else _v
_v = arg.pop('hoveron', None)
self['hoveron'] = hoveron if hoveron is not None else _v
_v = arg.pop('labelfont', None)
Expand Down
2 changes: 1 addition & 1 deletion plotly/offline/_plotlyjs_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# DO NOT EDIT
# This file is generated by the updatebundle setup.py command
__plotlyjs_version__ = '1.42.2'
__plotlyjs_version__ = '1.42.3'
22 changes: 8 additions & 14 deletions plotly/package_data/plot-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2422,7 +2422,7 @@
"color": {
"valType": "color",
"role": "style",
"editType": "calc",
"editType": "style",
"arrayOk": true
},
"editType": "calc",
Expand Down Expand Up @@ -2467,7 +2467,7 @@
"color": {
"valType": "color",
"role": "style",
"editType": "calc",
"editType": "style",
"arrayOk": true
},
"editType": "calc",
Expand Down Expand Up @@ -2512,7 +2512,7 @@
"color": {
"valType": "color",
"role": "style",
"editType": "calc",
"editType": "style",
"arrayOk": true
},
"editType": "calc",
Expand Down Expand Up @@ -9540,7 +9540,7 @@
"color": {
"valType": "color",
"role": "style",
"editType": "style",
"editType": "plot",
"arrayOk": true
},
"editType": "calc",
Expand Down Expand Up @@ -9585,7 +9585,7 @@
"color": {
"valType": "color",
"role": "style",
"editType": "style",
"editType": "plot",
"arrayOk": true
},
"editType": "calc",
Expand Down Expand Up @@ -9630,7 +9630,7 @@
"color": {
"valType": "color",
"role": "style",
"editType": "style",
"editType": "plot",
"arrayOk": true
},
"editType": "calc",
Expand Down Expand Up @@ -9697,7 +9697,7 @@
"color": {
"valType": "color",
"role": "style",
"editType": "style",
"editType": "plot",
"arrayOk": true
},
"editType": "calc",
Expand Down Expand Up @@ -27487,7 +27487,7 @@
"none",
"skip"
],
"arrayOk": true,
"arrayOk": false,
"dflt": "all",
"editType": "plot",
"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."
Expand Down Expand Up @@ -28205,12 +28205,6 @@
"editType": "calc",
"description": "The number of observations represented by each state. Defaults to 1 so that each state represents one observation"
},
"hoverinfosrc": {
"valType": "string",
"role": "info",
"description": "Sets the source reference on plot.ly for hoverinfo .",
"editType": "none"
},
"countssrc": {
"valType": "string",
"role": "info",
Expand Down
4 changes: 2 additions & 2 deletions plotly/package_data/plotly.min.js

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions plotly/validators/_parcats.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ def __init__(self, plotly_name='parcats', parent_name='', **kwargs):
information is displayed upon hovering. But, if
`none` is set, click and hover events are still
fired.
hoverinfosrc
Sets the source reference on plot.ly for
hoverinfo .
hoveron
Sets the hover interaction mode for the parcats
diagram. If `category`, hover interaction take
Expand Down
2 changes: 1 addition & 1 deletion plotly/validators/bar/insidetextfont/_color.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def __init__(
plotly_name=plotly_name,
parent_name=parent_name,
array_ok=kwargs.pop('array_ok', True),
edit_type=kwargs.pop('edit_type', 'calc'),
edit_type=kwargs.pop('edit_type', 'style'),
role=kwargs.pop('role', 'style'),
**kwargs
)
2 changes: 1 addition & 1 deletion plotly/validators/bar/outsidetextfont/_color.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def __init__(
plotly_name=plotly_name,
parent_name=parent_name,
array_ok=kwargs.pop('array_ok', True),
edit_type=kwargs.pop('edit_type', 'calc'),
edit_type=kwargs.pop('edit_type', 'style'),
role=kwargs.pop('role', 'style'),
**kwargs
)
2 changes: 1 addition & 1 deletion plotly/validators/bar/textfont/_color.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def __init__(
plotly_name=plotly_name,
parent_name=parent_name,
array_ok=kwargs.pop('array_ok', True),
edit_type=kwargs.pop('edit_type', 'calc'),
edit_type=kwargs.pop('edit_type', 'style'),
role=kwargs.pop('role', 'style'),
**kwargs
)
1 change: 0 additions & 1 deletion plotly/validators/parcats/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from ._line import LineValidator
from ._labelfont import LabelfontValidator
from ._hoveron import HoveronValidator
from ._hoverinfosrc import HoverinfosrcValidator
from ._hoverinfo import HoverinfoValidator
from ._domain import DomainValidator
from ._dimensiondefaults import DimensionValidator
Expand Down
Loading

0 comments on commit 37ffef6

Please sign in to comment.