Skip to content

Commit 91f0adc

Browse files
committed
update plotly.js to version 3.1.1
1 parent f27f38f commit 91f0adc

File tree

10 files changed

+102
-101
lines changed

10 files changed

+102
-101
lines changed

codegen/resources/plot-schema.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4008,7 +4008,7 @@
40084008
"valType": "string"
40094009
},
40104010
"type": {
4011-
"description": "Sets the layer type, that is the how the layer data set in `source` will be rendered With `sourcetype` set to *geojson*, the following values are allowed: *circle*, *line*, *fill* and *symbol*. but note that *line* and *fill* are not compatible with Point GeoJSON geometries. With `sourcetype` set to *vector*, the following values are allowed: *circle*, *line*, *fill* and *symbol*. With `sourcetype` set to *raster* or `*image*`, only the *raster* value is allowed.",
4011+
"description": "Sets the layer type, that is the how the layer data set in `source` will be rendered With `sourcetype` set to *geojson*, the following values are allowed: *circle*, *line*, *fill* and *symbol*. but note that *line* and *fill* are not compatible with Point GeoJSON geometries. With `sourcetype` set to *vector*, the following values are allowed: *circle*, *line*, *fill* and *symbol*. With `sourcetype` set to *raster* or *image*, only the *raster* value is allowed.",
40124012
"dflt": "circle",
40134013
"editType": "plot",
40144014
"valType": "enumerated",
@@ -4414,7 +4414,7 @@
44144414
"valType": "string"
44154415
},
44164416
"type": {
4417-
"description": "Sets the layer type, that is the how the layer data set in `source` will be rendered With `sourcetype` set to *geojson*, the following values are allowed: *circle*, *line*, *fill* and *symbol*. but note that *line* and *fill* are not compatible with Point GeoJSON geometries. With `sourcetype` set to *vector*, the following values are allowed: *circle*, *line*, *fill* and *symbol*. With `sourcetype` set to *raster* or `*image*`, only the *raster* value is allowed.",
4417+
"description": "Sets the layer type, that is the how the layer data set in `source` will be rendered With `sourcetype` set to *geojson*, the following values are allowed: *circle*, *line*, *fill* and *symbol*. but note that *line* and *fill* are not compatible with Point GeoJSON geometries. With `sourcetype` set to *vector*, the following values are allowed: *circle*, *line*, *fill* and *symbol*. With `sourcetype` set to *raster* or *image*, only the *raster* value is allowed.",
44184418
"dflt": "circle",
44194419
"editType": "plot",
44204420
"valType": "enumerated",
@@ -47932,7 +47932,7 @@
4793247932
"valType": "number"
4793347933
},
4793447934
"source": {
47935-
"description": "Specifies the data URI of the image to be visualized. The URI consists of \"data:image/[<media subtype>][;base64],<data>\"",
47935+
"description": "Specifies the data URI of the image to be visualized. The URI consists of \"data:image/[<media subtype\\\\>][;base64\\\\],<data\\\\>\"",
4793647936
"editType": "calc",
4793747937
"valType": "string"
4793847938
},
@@ -53288,7 +53288,7 @@
5328853288
]
5328953289
},
5329053290
"hovertemplate": {
53291-
"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}\" as well as %{xother}, {%_xother}, {%_xother_}, {%xother_}. When showing info for several points, *xother* will be added to those with different x positions from the first point. An underscore before or after *(x|y)other* will add a space on that side, only when this field is shown. Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example \"Price: %{y:$.2f}\". https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example \"Day: %{2019-01-01|%A}\". https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. This value here applies when hovering over dimensions. Note that `*categorycount`, *colorcount* and *bandcolorcount* are only available when `hoveron` contains the *color* flagFinally, the template string has access to variables `count`, `probability`, `category`, `categorycount`, `colorcount` and `bandcolorcount`. 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>`.",
53291+
"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}\" as well as %{xother}, {%_xother}, {%_xother_}, {%xother_}. When showing info for several points, *xother* will be added to those with different x positions from the first point. An underscore before or after *(x|y)other* will add a space on that side, only when this field is shown. Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example \"Price: %{y:$.2f}\". https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example \"Day: %{2019-01-01|%A}\". https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. This value here applies when hovering over dimensions. Note that *categorycount*, *colorcount* and *bandcolorcount* are only available when `hoveron` contains the *color* flag. Finally, the template string has access to variables `count`, `probability`, `category`, `categorycount`, `colorcount` and `bandcolorcount`. 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>`.",
5329253292
"dflt": "",
5329353293
"editType": "plot",
5329453294
"valType": "string"

js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"dependencies": {
2121
"lodash-es": "^4.17.21",
22-
"plotly.js": "3.1.0",
22+
"plotly.js": "3.1.1",
2323
"@lumino/widgets": "~2.4.0"
2424
},
2525
"devDependencies": {

plotly/graph_objs/_figure.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9980,7 +9980,7 @@ def add_image(
99809980
source
99819981
Specifies the data URI of the image to be visualized.
99829982
The URI consists of "data:image/[<media
9983-
subtype>][;base64],<data>"
9983+
subtype\\>][;base64\\],<data\\>"
99849984
stream
99859985
:class:`plotly.graph_objects.image.Stream` instance or
99869986
dict with compatible properties
@@ -11853,9 +11853,9 @@ def add_parcats(
1185311853
data. Additionally, every attributes that can be
1185411854
specified per-point (the ones that are `arrayOk: true`)
1185511855
are available. This value here applies when hovering
11856-
over dimensions. Note that `*categorycount`,
11856+
over dimensions. Note that "categorycount",
1185711857
"colorcount" and "bandcolorcount" are only available
11858-
when `hoveron` contains the "color" flagFinally, the
11858+
when `hoveron` contains the "color" flag. Finally, the
1185911859
template string has access to variables `count`,
1186011860
`probability`, `category`, `categorycount`,
1186111861
`colorcount` and `bandcolorcount`. Anything contained

plotly/graph_objs/_figurewidget.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9982,7 +9982,7 @@ def add_image(
99829982
source
99839983
Specifies the data URI of the image to be visualized.
99849984
The URI consists of "data:image/[<media
9985-
subtype>][;base64],<data>"
9985+
subtype\\>][;base64\\],<data\\>"
99869986
stream
99879987
:class:`plotly.graph_objects.image.Stream` instance or
99889988
dict with compatible properties
@@ -11855,9 +11855,9 @@ def add_parcats(
1185511855
data. Additionally, every attributes that can be
1185611856
specified per-point (the ones that are `arrayOk: true`)
1185711857
are available. This value here applies when hovering
11858-
over dimensions. Note that `*categorycount`,
11858+
over dimensions. Note that "categorycount",
1185911859
"colorcount" and "bandcolorcount" are only available
11860-
when `hoveron` contains the "color" flagFinally, the
11860+
when `hoveron` contains the "color" flag. Finally, the
1186111861
template string has access to variables `count`,
1186211862
`probability`, `category`, `categorycount`,
1186311863
`colorcount` and `bandcolorcount`. Anything contained

plotly/graph_objs/_image.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,8 @@ def opacity(self, val):
521521
def source(self):
522522
"""
523523
Specifies the data URI of the image to be visualized. The URI
524-
consists of "data:image/[<media subtype>][;base64],<data>"
524+
consists of "data:image/[<media
525+
subtype\\>][;base64\\],<data\\>"
525526
526527
The 'source' property is a string and must be specified as:
527528
- A string
@@ -1021,7 +1022,7 @@ def _prop_descriptions(self):
10211022
source
10221023
Specifies the data URI of the image to be visualized.
10231024
The URI consists of "data:image/[<media
1024-
subtype>][;base64],<data>"
1025+
subtype\\>][;base64\\],<data\\>"
10251026
stream
10261027
:class:`plotly.graph_objects.image.Stream` instance or
10271028
dict with compatible properties
@@ -1294,7 +1295,7 @@ def __init__(
12941295
source
12951296
Specifies the data URI of the image to be visualized.
12961297
The URI consists of "data:image/[<media
1297-
subtype>][;base64],<data>"
1298+
subtype\\>][;base64\\],<data\\>"
12981299
stream
12991300
:class:`plotly.graph_objects.image.Stream` instance or
13001301
dict with compatible properties

plotly/graph_objs/_parcats.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -249,14 +249,14 @@ def hovertemplate(self):
249249
Additionally, every attributes that can be specified per-point
250250
(the ones that are `arrayOk: true`) are available. This value
251251
here applies when hovering over dimensions. Note that
252-
`*categorycount`, "colorcount" and "bandcolorcount" are only
253-
available when `hoveron` contains the "color" flagFinally, the
254-
template string has access to variables `count`, `probability`,
255-
`category`, `categorycount`, `colorcount` and `bandcolorcount`.
256-
Anything contained in tag `<extra>` is displayed in the
257-
secondary box, for example `<extra>%{fullData.name}</extra>`.
258-
To hide the secondary box completely, use an empty tag
259-
`<extra></extra>`.
252+
"categorycount", "colorcount" and "bandcolorcount" are only
253+
available when `hoveron` contains the "color" flag. Finally,
254+
the template string has access to variables `count`,
255+
`probability`, `category`, `categorycount`, `colorcount` and
256+
`bandcolorcount`. Anything contained in tag `<extra>` is
257+
displayed in the secondary box, for example
258+
`<extra>%{fullData.name}</extra>`. To hide the secondary box
259+
completely, use an empty tag `<extra></extra>`.
260260
261261
The 'hovertemplate' property is a string and must be specified as:
262262
- A string
@@ -619,9 +619,9 @@ def _prop_descriptions(self):
619619
data. Additionally, every attributes that can be
620620
specified per-point (the ones that are `arrayOk: true`)
621621
are available. This value here applies when hovering
622-
over dimensions. Note that `*categorycount`,
622+
over dimensions. Note that "categorycount",
623623
"colorcount" and "bandcolorcount" are only available
624-
when `hoveron` contains the "color" flagFinally, the
624+
when `hoveron` contains the "color" flag. Finally, the
625625
template string has access to variables `count`,
626626
`probability`, `category`, `categorycount`,
627627
`colorcount` and `bandcolorcount`. Anything contained
@@ -802,9 +802,9 @@ def __init__(
802802
data. Additionally, every attributes that can be
803803
specified per-point (the ones that are `arrayOk: true`)
804804
are available. This value here applies when hovering
805-
over dimensions. Note that `*categorycount`,
805+
over dimensions. Note that "categorycount",
806806
"colorcount" and "bandcolorcount" are only available
807-
when `hoveron` contains the "color" flagFinally, the
807+
when `hoveron` contains the "color" flag. Finally, the
808808
template string has access to variables `count`,
809809
`probability`, `category`, `categorycount`,
810810
`colorcount` and `bandcolorcount`. Anything contained

plotly/graph_objs/layout/map/_layer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def type(self):
379379
with Point GeoJSON geometries. With `sourcetype` set to
380380
"vector", the following values are allowed: "circle", "line",
381381
"fill" and "symbol". With `sourcetype` set to "raster" or
382-
`*image*`, only the "raster" value is allowed.
382+
"image", only the "raster" value is allowed.
383383
384384
The 'type' property is an enumeration that may be specified as:
385385
- One of the following enumeration values:
@@ -510,7 +510,7 @@ def _prop_descriptions(self):
510510
geometries. With `sourcetype` set to "vector", the
511511
following values are allowed: "circle", "line", "fill"
512512
and "symbol". With `sourcetype` set to "raster" or
513-
`*image*`, only the "raster" value is allowed.
513+
"image", only the "raster" value is allowed.
514514
visible
515515
Determines whether this layer is displayed
516516
"""
@@ -641,7 +641,7 @@ def __init__(
641641
geometries. With `sourcetype` set to "vector", the
642642
following values are allowed: "circle", "line", "fill"
643643
and "symbol". With `sourcetype` set to "raster" or
644-
`*image*`, only the "raster" value is allowed.
644+
"image", only the "raster" value is allowed.
645645
visible
646646
Determines whether this layer is displayed
647647

plotly/graph_objs/layout/mapbox/_layer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ def type(self):
381381
with Point GeoJSON geometries. With `sourcetype` set to
382382
"vector", the following values are allowed: "circle", "line",
383383
"fill" and "symbol". With `sourcetype` set to "raster" or
384-
`*image*`, only the "raster" value is allowed.
384+
"image", only the "raster" value is allowed.
385385
386386
The 'type' property is an enumeration that may be specified as:
387387
- One of the following enumeration values:
@@ -513,7 +513,7 @@ def _prop_descriptions(self):
513513
geometries. With `sourcetype` set to "vector", the
514514
following values are allowed: "circle", "line", "fill"
515515
and "symbol". With `sourcetype` set to "raster" or
516-
`*image*`, only the "raster" value is allowed.
516+
"image", only the "raster" value is allowed.
517517
visible
518518
Determines whether this layer is displayed
519519
"""
@@ -645,7 +645,7 @@ def __init__(
645645
geometries. With `sourcetype` set to "vector", the
646646
following values are allowed: "circle", "line", "fill"
647647
and "symbol". With `sourcetype` set to "raster" or
648-
`*image*`, only the "raster" value is allowed.
648+
"image", only the "raster" value is allowed.
649649
visible
650650
Determines whether this layer is displayed
651651
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 commands.py command
3-
__plotlyjs_version__ = "3.1.0"
3+
__plotlyjs_version__ = "3.1.1"

plotly/package_data/plotly.min.js

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

0 commit comments

Comments
 (0)