Skip to content
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions packages/javascript/jupyterlab-plotly/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 packages/javascript/jupyterlab-plotly/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"typescript": "~3.1.1"
},
"dependencies": {
"plotly.js": "1.48.1",
"plotly.js": "1.48.3",
"@types/plotly.js": "^1.44.9",
"@jupyter-widgets/base": "^1.0.0",
"@jupyterlab/rendermime-interfaces": "^1.2.1",
Expand Down
60 changes: 31 additions & 29 deletions packages/python/plotly/codegen/resources/plot-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -14384,26 +14384,6 @@
"editType": "calc",
"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."
},
"hoverinfo": {
"valType": "flaglist",
"role": "info",
"flags": [
"x",
"y",
"z",
"text",
"name"
],
"extras": [
"all",
"none",
"skip"
],
"arrayOk": true,
"dflt": "all",
"editType": "none",
"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."
},
"hoverlabel": {
"bgcolor": {
"valType": "color",
Expand Down Expand Up @@ -14609,9 +14589,31 @@
"role": "info",
"dflt": "",
"editType": "none",
"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>`.",
"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>`.",
"arrayOk": true
},
"hoverinfo": {
"valType": "flaglist",
"role": "info",
"flags": [
"name",
"x",
"y",
"text",
"percent initial",
"percent previous",
"percent total"
],
"extras": [
"all",
"none",
"skip"
],
"arrayOk": true,
"dflt": "all",
"editType": "none",
"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."
},
"textinfo": {
"valType": "flaglist",
"flags": [
Expand Down Expand Up @@ -15657,12 +15659,6 @@
"description": "Sets the source reference on plot.ly for meta .",
"editType": "none"
},
"hoverinfosrc": {
"valType": "string",
"role": "info",
"description": "Sets the source reference on plot.ly for hoverinfo .",
"editType": "none"
},
"xsrc": {
"valType": "string",
"role": "info",
Expand All @@ -15687,6 +15683,12 @@
"description": "Sets the source reference on plot.ly for hovertemplate .",
"editType": "none"
},
"hoverinfosrc": {
"valType": "string",
"role": "info",
"description": "Sets the source reference on plot.ly for hoverinfo .",
"editType": "none"
},
"textsrc": {
"valType": "string",
"role": "info",
Expand Down Expand Up @@ -36337,13 +36339,13 @@
"tickvals": {
"valType": "data_array",
"editType": "calc",
"description": "Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to *array*. Used with `ticktext`.",
"description": "Sets the values at which ticks on this axis appear.",
"role": "data"
},
"ticktext": {
"valType": "data_array",
"editType": "calc",
"description": "Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to *array*. Used with `tickvals`.",
"description": "Sets the text displayed at the ticks position via `tickvals`.",
"role": "data"
},
"tickformat": {
Expand Down
32 changes: 17 additions & 15 deletions packages/python/plotly/plotly/graph_objs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44144,16 +44144,13 @@ def dimensions(self):
ormat/blob/master/README.md#locale_format
ticktext
Sets the text displayed at the ticks position
via `tickvals`. Only has an effect if
`tickmode` is set to "array". Used with
`tickvals`.
via `tickvals`.
ticktextsrc
Sets the source reference on plot.ly for
ticktext .
tickvals
Sets the values at which ticks on this axis
appear. Only has an effect if `tickmode` is set
to "array". Used with `ticktext`.
appear.
tickvalssrc
Sets the source reference on plot.ly for
tickvals .
Expand Down Expand Up @@ -65844,8 +65841,8 @@ def hoverinfo(self):

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

Expand Down Expand Up @@ -65954,10 +65951,11 @@ def hovertemplate(self):
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>`.
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>`.

The 'hovertemplate' property is a string and must be specified as:
- A string
Expand Down Expand Up @@ -67132,8 +67130,10 @@ def _prop_descriptions(self):
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
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>`.
hovertemplatesrc
Expand Down Expand Up @@ -67431,8 +67431,10 @@ def __init__(
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
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>`.
hovertemplatesrc
Expand Down
6 changes: 4 additions & 2 deletions packages/python/plotly/plotly/graph_objs/_figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -3916,8 +3916,10 @@ def add_funnel(
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
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>`.
hovertemplatesrc
Expand Down
6 changes: 4 additions & 2 deletions packages/python/plotly/plotly/graph_objs/_figurewidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -3916,8 +3916,10 @@ def add_funnel(
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
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>`.
hovertemplatesrc
Expand Down
15 changes: 3 additions & 12 deletions packages/python/plotly/plotly/graph_objs/parcoords/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2044,8 +2044,6 @@ def tickformat(self, val):
def ticktext(self):
"""
Sets the text displayed at the ticks position via `tickvals`.
Only has an effect if `tickmode` is set to "array". Used with
`tickvals`.

The 'ticktext' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series
Expand Down Expand Up @@ -2085,8 +2083,7 @@ def ticktextsrc(self, val):
@property
def tickvals(self):
"""
Sets the values at which ticks on this axis appear. Only has an
effect if `tickmode` is set to "array". Used with `ticktext`.
Sets the values at which ticks on this axis appear.

The 'tickvals' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series
Expand Down Expand Up @@ -2239,14 +2236,11 @@ def _prop_descriptions(self):
ocale_format
ticktext
Sets the text displayed at the ticks position via
`tickvals`. Only has an effect if `tickmode` is set to
"array". Used with `tickvals`.
`tickvals`.
ticktextsrc
Sets the source reference on plot.ly for ticktext .
tickvals
Sets the values at which ticks on this axis appear.
Only has an effect if `tickmode` is set to "array".
Used with `ticktext`.
tickvalssrc
Sets the source reference on plot.ly for tickvals .
values
Expand Down Expand Up @@ -2335,14 +2329,11 @@ def __init__(
ocale_format
ticktext
Sets the text displayed at the ticks position via
`tickvals`. Only has an effect if `tickmode` is set to
"array". Used with `tickvals`.
`tickvals`.
ticktextsrc
Sets the source reference on plot.ly for ticktext .
tickvals
Sets the values at which ticks on this axis appear.
Only has an effect if `tickmode` is set to "array".
Used with `ticktext`.
tickvalssrc
Sets the source reference on plot.ly for tickvals .
values
Expand Down
2 changes: 1 addition & 1 deletion packages/python/plotly/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.48.1"
__plotlyjs_version__ = "1.48.3"
4 changes: 2 additions & 2 deletions packages/python/plotly/plotly/package_data/plotly.min.js

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions packages/python/plotly/plotly/validators/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8045,11 +8045,12 @@ def __init__(self, plotly_name="funnel", parent_name="", **kwargs):
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>`.
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>`.
hovertemplatesrc
Sets the source reference on plot.ly for
hovertemplate .
Expand Down
Loading