Skip to content

Commit 067b954

Browse files
authored
Merge pull request #5565 from plotly/cam/update-plotly.js-v3.5.0
chore: Update plotly.js to v3.5.0
2 parents 600f865 + 1b7de49 commit 067b954

File tree

453 files changed

+1477
-1346
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

453 files changed

+1477
-1346
lines changed

codegen/resources/plot-schema.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@
124124
false
125125
]
126126
},
127+
"displayNotifier": {
128+
"description": "Determines whether or not notifier is displayed.",
129+
"dflt": true,
130+
"valType": "boolean"
131+
},
127132
"doubleClick": {
128133
"description": "Sets the double click interaction mode. Has an effect only in cartesian plots. If *false*, double click is disable. If *reset*, double click resets the axis ranges to their initial values. If *autosize*, double click set the axis ranges to their autorange values. If *reset+autosize*, the odd double clicks resets the axis ranges to their initial values and even double clicks set the axis ranges to their autorange values.",
129134
"dflt": "reset+autosize",
@@ -1166,6 +1171,12 @@
11661171
"ummalqura"
11671172
]
11681173
},
1174+
"clickanywhere": {
1175+
"description": "If true, `plotly_click` events will fire for any click position within the plot area, not just over traces. When clicking where there is no trace data, the event will have an empty `points` array but will include `xvals` and `yvals` with click coordinates in data space.",
1176+
"dflt": false,
1177+
"editType": "none",
1178+
"valType": "boolean"
1179+
},
11691180
"clickmode": {
11701181
"description": "Determines the mode of single click interactions. *event* is the default value and emits the `plotly_click` event. In addition this mode emits the `plotly_selected` event in drag modes *lasso* and *select*, but with no event data attached (kept for compatibility reasons). The *select* flag enables selecting single data points via click. This mode also supports persistent selections, meaning that pressing Shift while clicking, adds to / subtracts from an existing selection. *select* with `hovermode`: *x* can be confusing, consider explicitly setting `hovermode`: *closest* when using this feature. Selection events are sent accordingly as long as *event* flag is set as well. When the *event* flag is missing, `plotly_click` and `plotly_selected` events are not fired.",
11711182
"dflt": "event",
@@ -2807,6 +2818,12 @@
28072818
"editType": "plot",
28082819
"valType": "boolean"
28092820
},
2821+
"hoveranywhere": {
2822+
"description": "If true, `plotly_hover` events will fire for any cursor position within the plot area, not just over traces. When the cursor is not over a trace, the event will have an empty `points` array but will include `xvals` and `yvals` with cursor coordinates in data space.",
2823+
"dflt": false,
2824+
"editType": "none",
2825+
"valType": "boolean"
2826+
},
28102827
"hoverdistance": {
28112828
"description": "Sets the default distance (in pixels) to look for data to add hover labels (-1 means no cutoff, 0 means no looking for data). This is only a real distance for hovering on point-like objects, like scatter points. For area-like objects (bars, scatter fills, etc) hovering is on inside the area and off outside, but these objects will not supersede hover on point-like objects in case of conflict.",
28122829
"dflt": 20,
@@ -25447,7 +25464,7 @@
2544725464
"valType": "number"
2544825465
},
2544925466
"locationmode": {
25450-
"description": "The library used by the *country names* `locationmode` option is changing in an upcoming version. Country names in existing plots may not work in the new version. Determines the set of locations used to match entries in `locations` to regions on the map. Values *ISO-3*, *USA-states*, *country names* correspond to features on the base map and value *geojson-id* corresponds to features from a custom GeoJSON linked to the `geojson` attribute.",
25467+
"description": "The library used by the *country names* `locationmode` option is changing in an upcoming version. Country names in existing plots may not work in the new version. Determines the set of locations used to match entries in `locations` to regions on the map. Values *ISO-3*, *USA-states*, *country names* correspond to features on the base map and value *geojson-id* corresponds to features from a custom GeoJSON linked to the `geojson` attribute. *USA-states* accepts both two-letter abbreviations (e.g. *CA*) and full state names (e.g. *California*).",
2545125468
"dflt": "ISO-3",
2545225469
"editType": "calc",
2545325470
"valType": "enumerated",
@@ -67366,7 +67383,7 @@
6736667383
}
6736767384
},
6736867385
"locationmode": {
67369-
"description": "The library used by the *country names* `locationmode` option is changing in an upcoming version. Country names in existing plots may not work in the new version. Determines the set of locations used to match entries in `locations` to regions on the map. Values *ISO-3*, *USA-states*, *country names* correspond to features on the base map and value *geojson-id* corresponds to features from a custom GeoJSON linked to the `geojson` attribute.",
67386+
"description": "The library used by the *country names* `locationmode` option is changing in an upcoming version. Country names in existing plots may not work in the new version. Determines the set of locations used to match entries in `locations` to regions on the map. Values *ISO-3*, *USA-states*, *country names* correspond to features on the base map and value *geojson-id* corresponds to features from a custom GeoJSON linked to the `geojson` attribute. *USA-states* accepts both two-letter abbreviations (e.g. *CA*) and full state names (e.g. *California*).",
6737067387
"dflt": "ISO-3",
6737167388
"editType": "calc",
6737267389
"valType": "enumerated",

js/package-lock.json

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

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.4.0",
22+
"plotly.js": "3.5.0",
2323
"@lumino/widgets": "~2.4.0"
2424
},
2525
"devDependencies": {

plotly/graph_objs/_bar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1682,7 +1682,7 @@ def zorder(self):
16821682
other SVG traces on the same subplot. SVG traces with higher
16831683
`zorder` appear in front of those with lower `zorder`.
16841684
1685-
The 'zorder' property is a integer and may be specified as:
1685+
The 'zorder' property is an integer and may be specified as:
16861686
- An int (or float that will be cast to an int)
16871687
16881688
Returns

plotly/graph_objs/_box.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1921,7 +1921,7 @@ def zorder(self):
19211921
other SVG traces on the same subplot. SVG traces with higher
19221922
`zorder` appear in front of those with lower `zorder`.
19231923
1924-
The 'zorder' property is a integer and may be specified as:
1924+
The 'zorder' property is an integer and may be specified as:
19251925
- An int (or float that will be cast to an int)
19261926
19271927
Returns

plotly/graph_objs/_candlestick.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1142,7 +1142,7 @@ def zorder(self):
11421142
other SVG traces on the same subplot. SVG traces with higher
11431143
`zorder` appear in front of those with lower `zorder`.
11441144
1145-
The 'zorder' property is a integer and may be specified as:
1145+
The 'zorder' property is an integer and may be specified as:
11461146
- An int (or float that will be cast to an int)
11471147
11481148
Returns

plotly/graph_objs/_carpet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ def zorder(self):
785785
other SVG traces on the same subplot. SVG traces with higher
786786
`zorder` appear in front of those with lower `zorder`.
787787
788-
The 'zorder' property is a integer and may be specified as:
788+
The 'zorder' property is an integer and may be specified as:
789789
- An int (or float that will be cast to an int)
790790
791791
Returns

plotly/graph_objs/_choropleth.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,9 @@ def locationmode(self):
627627
the map. Values "ISO-3", "USA-states", *country names*
628628
correspond to features on the base map and value "geojson-id"
629629
corresponds to features from a custom GeoJSON linked to the
630-
`geojson` attribute.
630+
`geojson` attribute. "USA-states" accepts both two-letter
631+
abbreviations (e.g. "CA") and full state names (e.g.
632+
"California").
631633
632634
The 'locationmode' property is an enumeration that may be specified as:
633635
- One of the following enumeration values:
@@ -1289,7 +1291,9 @@ def _prop_descriptions(self):
12891291
"ISO-3", "USA-states", *country names* correspond to
12901292
features on the base map and value "geojson-id"
12911293
corresponds to features from a custom GeoJSON linked to
1292-
the `geojson` attribute.
1294+
the `geojson` attribute. "USA-states" accepts both two-
1295+
letter abbreviations (e.g. "CA") and full state names
1296+
(e.g. "California").
12931297
locations
12941298
Sets the coordinates via location IDs or names. See
12951299
`locationmode` for more info.
@@ -1623,7 +1627,9 @@ def __init__(
16231627
"ISO-3", "USA-states", *country names* correspond to
16241628
features on the base map and value "geojson-id"
16251629
corresponds to features from a custom GeoJSON linked to
1626-
the `geojson` attribute.
1630+
the `geojson` attribute. "USA-states" accepts both two-
1631+
letter abbreviations (e.g. "CA") and full state names
1632+
(e.g. "California").
16271633
locations
16281634
Sets the coordinates via location IDs or names. See
16291635
`locationmode` for more info.

plotly/graph_objs/_contour.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ def ncontours(self):
806806
to the value of `ncontours`. Has an effect only if
807807
`autocontour` is True or if `contours.size` is missing.
808808
809-
The 'ncontours' property is a integer and may be specified as:
809+
The 'ncontours' property is an integer and may be specified as:
810810
- An int (or float that will be cast to an int)
811811
in the interval [1, 9223372036854775807]
812812
@@ -1670,7 +1670,7 @@ def zorder(self):
16701670
other SVG traces on the same subplot. SVG traces with higher
16711671
`zorder` appear in front of those with lower `zorder`.
16721672
1673-
The 'zorder' property is a integer and may be specified as:
1673+
The 'zorder' property is an integer and may be specified as:
16741674
- An int (or float that will be cast to an int)
16751675
16761676
Returns

plotly/graph_objs/_contourcarpet.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ def ncontours(self):
773773
to the value of `ncontours`. Has an effect only if
774774
`autocontour` is True or if `contours.size` is missing.
775775
776-
The 'ncontours' property is a integer and may be specified as:
776+
The 'ncontours' property is an integer and may be specified as:
777777
- An int (or float that will be cast to an int)
778778
in the interval [1, 9223372036854775807]
779779
@@ -1158,7 +1158,7 @@ def zorder(self):
11581158
other SVG traces on the same subplot. SVG traces with higher
11591159
`zorder` appear in front of those with lower `zorder`.
11601160
1161-
The 'zorder' property is a integer and may be specified as:
1161+
The 'zorder' property is an integer and may be specified as:
11621162
- An int (or float that will be cast to an int)
11631163
11641164
Returns

0 commit comments

Comments
 (0)