Skip to content

Commit 14883ac

Browse files
authored
Update to plotly.js 1.48.3 (#1632)
1 parent b90126e commit 14883ac

File tree

14 files changed

+110
-102
lines changed

14 files changed

+110
-102
lines changed

packages/javascript/jupyterlab-plotly/package-lock.json

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/javascript/jupyterlab-plotly/package.json

Lines 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.48.1",
38+
"plotly.js": "1.48.3",
3939
"@types/plotly.js": "^1.44.9",
4040
"@jupyter-widgets/base": "^1.0.0",
4141
"@jupyterlab/rendermime-interfaces": "^1.2.1",

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

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -14384,26 +14384,6 @@
1438414384
"editType": "calc",
1438514385
"description": "Array containing integer indices of selected points. Has an effect only for traces that support selections. Note that an empty array means an empty selection where the `unselected` are turned on for all points, whereas, any other non-array values means no selection all where the `selected` and `unselected` styles have no effect."
1438614386
},
14387-
"hoverinfo": {
14388-
"valType": "flaglist",
14389-
"role": "info",
14390-
"flags": [
14391-
"x",
14392-
"y",
14393-
"z",
14394-
"text",
14395-
"name"
14396-
],
14397-
"extras": [
14398-
"all",
14399-
"none",
14400-
"skip"
14401-
],
14402-
"arrayOk": true,
14403-
"dflt": "all",
14404-
"editType": "none",
14405-
"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."
14406-
},
1440714387
"hoverlabel": {
1440814388
"bgcolor": {
1440914389
"valType": "color",
@@ -14609,9 +14589,31 @@
1460914589
"role": "info",
1461014590
"dflt": "",
1461114591
"editType": "none",
14612-
"description": "Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example \"y: %{y}\". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example \"Price: %{y:$.2f}\". See https://github.com/d3/d3-format/blob/master/README.md#locale_format for details on the formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plot.ly/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Anything contained in tag `<extra>` is displayed in the secondary box, for example \"<extra>{fullData.name}</extra>\". To hide the secondary box completely, use an empty tag `<extra></extra>`.",
14592+
"description": "Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example \"y: %{y}\". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example \"Price: %{y:$.2f}\". See https://github.com/d3/d3-format/blob/master/README.md#locale_format for details on the formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plot.ly/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. variables `percentInitial`, `percentPrevious` and `percentTotal`. Anything contained in tag `<extra>` is displayed in the secondary box, for example \"<extra>{fullData.name}</extra>\". To hide the secondary box completely, use an empty tag `<extra></extra>`.",
1461314593
"arrayOk": true
1461414594
},
14595+
"hoverinfo": {
14596+
"valType": "flaglist",
14597+
"role": "info",
14598+
"flags": [
14599+
"name",
14600+
"x",
14601+
"y",
14602+
"text",
14603+
"percent initial",
14604+
"percent previous",
14605+
"percent total"
14606+
],
14607+
"extras": [
14608+
"all",
14609+
"none",
14610+
"skip"
14611+
],
14612+
"arrayOk": true,
14613+
"dflt": "all",
14614+
"editType": "none",
14615+
"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."
14616+
},
1461514617
"textinfo": {
1461614618
"valType": "flaglist",
1461714619
"flags": [
@@ -15657,12 +15659,6 @@
1565715659
"description": "Sets the source reference on plot.ly for meta .",
1565815660
"editType": "none"
1565915661
},
15660-
"hoverinfosrc": {
15661-
"valType": "string",
15662-
"role": "info",
15663-
"description": "Sets the source reference on plot.ly for hoverinfo .",
15664-
"editType": "none"
15665-
},
1566615662
"xsrc": {
1566715663
"valType": "string",
1566815664
"role": "info",
@@ -15687,6 +15683,12 @@
1568715683
"description": "Sets the source reference on plot.ly for hovertemplate .",
1568815684
"editType": "none"
1568915685
},
15686+
"hoverinfosrc": {
15687+
"valType": "string",
15688+
"role": "info",
15689+
"description": "Sets the source reference on plot.ly for hoverinfo .",
15690+
"editType": "none"
15691+
},
1569015692
"textsrc": {
1569115693
"valType": "string",
1569215694
"role": "info",
@@ -36337,13 +36339,13 @@
3633736339
"tickvals": {
3633836340
"valType": "data_array",
3633936341
"editType": "calc",
36340-
"description": "Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to *array*. Used with `ticktext`.",
36342+
"description": "Sets the values at which ticks on this axis appear.",
3634136343
"role": "data"
3634236344
},
3634336345
"ticktext": {
3634436346
"valType": "data_array",
3634536347
"editType": "calc",
36346-
"description": "Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to *array*. Used with `tickvals`.",
36348+
"description": "Sets the text displayed at the ticks position via `tickvals`.",
3634736349
"role": "data"
3634836350
},
3634936351
"tickformat": {

packages/python/plotly/plotly/graph_objs/__init__.py

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44144,16 +44144,13 @@ def dimensions(self):
4414444144
ormat/blob/master/README.md#locale_format
4414544145
ticktext
4414644146
Sets the text displayed at the ticks position
44147-
via `tickvals`. Only has an effect if
44148-
`tickmode` is set to "array". Used with
44149-
`tickvals`.
44147+
via `tickvals`.
4415044148
ticktextsrc
4415144149
Sets the source reference on plot.ly for
4415244150
ticktext .
4415344151
tickvals
4415444152
Sets the values at which ticks on this axis
44155-
appear. Only has an effect if `tickmode` is set
44156-
to "array". Used with `ticktext`.
44153+
appear.
4415744154
tickvalssrc
4415844155
Sets the source reference on plot.ly for
4415944156
tickvals .
@@ -65844,8 +65841,8 @@ def hoverinfo(self):
6584465841

6584565842
The 'hoverinfo' property is a flaglist and may be specified
6584665843
as a string containing:
65847-
- Any combination of ['x', 'y', 'z', 'text', 'name'] joined with '+' characters
65848-
(e.g. 'x+y')
65844+
- Any combination of ['name', 'x', 'y', 'text', 'percent initial', 'percent previous', 'percent total'] joined with '+' characters
65845+
(e.g. 'name+x')
6584965846
OR exactly one of ['all', 'none', 'skip'] (e.g. 'skip')
6585065847
- A list or array of the above
6585165848

@@ -65954,10 +65951,11 @@ def hovertemplate(self):
6595465951
at this link https://plot.ly/javascript/plotlyjs-events/#event-
6595565952
data. Additionally, every attributes that can be specified per-
6595665953
point (the ones that are `arrayOk: true`) are available.
65957-
Anything contained in tag `<extra>` is displayed in the
65958-
secondary box, for example "<extra>{fullData.name}</extra>". To
65959-
hide the secondary box completely, use an empty tag
65960-
`<extra></extra>`.
65954+
variables `percentInitial`, `percentPrevious` and
65955+
`percentTotal`. Anything contained in tag `<extra>` is
65956+
displayed in the secondary box, for example
65957+
"<extra>{fullData.name}</extra>". To hide the secondary box
65958+
completely, use an empty tag `<extra></extra>`.
6596165959

6596265960
The 'hovertemplate' property is a string and must be specified as:
6596365961
- A string
@@ -67132,8 +67130,10 @@ def _prop_descriptions(self):
6713267130
https://plot.ly/javascript/plotlyjs-events/#event-data.
6713367131
Additionally, every attributes that can be specified
6713467132
per-point (the ones that are `arrayOk: true`) are
67135-
available. Anything contained in tag `<extra>` is
67136-
displayed in the secondary box, for example
67133+
available. variables `percentInitial`,
67134+
`percentPrevious` and `percentTotal`. Anything
67135+
contained in tag `<extra>` is displayed in the
67136+
secondary box, for example
6713767137
"<extra>{fullData.name}</extra>". To hide the secondary
6713867138
box completely, use an empty tag `<extra></extra>`.
6713967139
hovertemplatesrc
@@ -67431,8 +67431,10 @@ def __init__(
6743167431
https://plot.ly/javascript/plotlyjs-events/#event-data.
6743267432
Additionally, every attributes that can be specified
6743367433
per-point (the ones that are `arrayOk: true`) are
67434-
available. Anything contained in tag `<extra>` is
67435-
displayed in the secondary box, for example
67434+
available. variables `percentInitial`,
67435+
`percentPrevious` and `percentTotal`. Anything
67436+
contained in tag `<extra>` is displayed in the
67437+
secondary box, for example
6743667438
"<extra>{fullData.name}</extra>". To hide the secondary
6743767439
box completely, use an empty tag `<extra></extra>`.
6743867440
hovertemplatesrc

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3916,8 +3916,10 @@ def add_funnel(
39163916
https://plot.ly/javascript/plotlyjs-events/#event-data.
39173917
Additionally, every attributes that can be specified
39183918
per-point (the ones that are `arrayOk: true`) are
3919-
available. Anything contained in tag `<extra>` is
3920-
displayed in the secondary box, for example
3919+
available. variables `percentInitial`,
3920+
`percentPrevious` and `percentTotal`. Anything
3921+
contained in tag `<extra>` is displayed in the
3922+
secondary box, for example
39213923
"<extra>{fullData.name}</extra>". To hide the secondary
39223924
box completely, use an empty tag `<extra></extra>`.
39233925
hovertemplatesrc

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3916,8 +3916,10 @@ def add_funnel(
39163916
https://plot.ly/javascript/plotlyjs-events/#event-data.
39173917
Additionally, every attributes that can be specified
39183918
per-point (the ones that are `arrayOk: true`) are
3919-
available. Anything contained in tag `<extra>` is
3920-
displayed in the secondary box, for example
3919+
available. variables `percentInitial`,
3920+
`percentPrevious` and `percentTotal`. Anything
3921+
contained in tag `<extra>` is displayed in the
3922+
secondary box, for example
39213923
"<extra>{fullData.name}</extra>". To hide the secondary
39223924
box completely, use an empty tag `<extra></extra>`.
39233925
hovertemplatesrc

packages/python/plotly/plotly/graph_objs/parcoords/__init__.py

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2044,8 +2044,6 @@ def tickformat(self, val):
20442044
def ticktext(self):
20452045
"""
20462046
Sets the text displayed at the ticks position via `tickvals`.
2047-
Only has an effect if `tickmode` is set to "array". Used with
2048-
`tickvals`.
20492047
20502048
The 'ticktext' property is an array that may be specified as a tuple,
20512049
list, numpy array, or pandas Series
@@ -2085,8 +2083,7 @@ def ticktextsrc(self, val):
20852083
@property
20862084
def tickvals(self):
20872085
"""
2088-
Sets the values at which ticks on this axis appear. Only has an
2089-
effect if `tickmode` is set to "array". Used with `ticktext`.
2086+
Sets the values at which ticks on this axis appear.
20902087
20912088
The 'tickvals' property is an array that may be specified as a tuple,
20922089
list, numpy array, or pandas Series
@@ -2239,14 +2236,11 @@ def _prop_descriptions(self):
22392236
ocale_format
22402237
ticktext
22412238
Sets the text displayed at the ticks position via
2242-
`tickvals`. Only has an effect if `tickmode` is set to
2243-
"array". Used with `tickvals`.
2239+
`tickvals`.
22442240
ticktextsrc
22452241
Sets the source reference on plot.ly for ticktext .
22462242
tickvals
22472243
Sets the values at which ticks on this axis appear.
2248-
Only has an effect if `tickmode` is set to "array".
2249-
Used with `ticktext`.
22502244
tickvalssrc
22512245
Sets the source reference on plot.ly for tickvals .
22522246
values
@@ -2335,14 +2329,11 @@ def __init__(
23352329
ocale_format
23362330
ticktext
23372331
Sets the text displayed at the ticks position via
2338-
`tickvals`. Only has an effect if `tickmode` is set to
2339-
"array". Used with `tickvals`.
2332+
`tickvals`.
23402333
ticktextsrc
23412334
Sets the source reference on plot.ly for ticktext .
23422335
tickvals
23432336
Sets the values at which ticks on this axis appear.
2344-
Only has an effect if `tickmode` is set to "array".
2345-
Used with `ticktext`.
23462337
tickvalssrc
23472338
Sets the source reference on plot.ly for tickvals .
23482339
values
Lines 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.48.1"
3+
__plotlyjs_version__ = "1.48.3"

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

Lines 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/__init__.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8045,11 +8045,12 @@ def __init__(self, plotly_name="funnel", parent_name="", **kwargs):
80458045
events/#event-data. Additionally, every
80468046
attributes that can be specified per-point (the
80478047
ones that are `arrayOk: true`) are available.
8048-
Anything contained in tag `<extra>` is
8049-
displayed in the secondary box, for example
8050-
"<extra>{fullData.name}</extra>". To hide the
8051-
secondary box completely, use an empty tag
8052-
`<extra></extra>`.
8048+
variables `percentInitial`, `percentPrevious`
8049+
and `percentTotal`. Anything contained in tag
8050+
`<extra>` is displayed in the secondary box,
8051+
for example "<extra>{fullData.name}</extra>".
8052+
To hide the secondary box completely, use an
8053+
empty tag `<extra></extra>`.
80538054
hovertemplatesrc
80548055
Sets the source reference on plot.ly for
80558056
hovertemplate .

0 commit comments

Comments
 (0)