Skip to content

Commit b98d3c5

Browse files
authored
Merge pull request #5730 from plotly/update-plotlyjs-v4.1.1
Update plotly.js to v4.1.1
2 parents 2e2d1f0 + 8d88819 commit b98d3c5

14 files changed

Lines changed: 5409 additions & 5356 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1313
- Fix rendering issue causing a too-large div when calling `Figure.show()` in Google Colab [[#5718](https://github.com/plotly/plotly.py/pull/5718)]
1414

1515
### Updated
16-
- Update plotly.js from version 4.0.0 to version 4.1.0 [[#5722](https://github.com/plotly/plotly.py/pull/5722)]. See the [plotly.js release notes](https://github.com/plotly/plotly.js/releases/tag/v4.1.0) for details. Notable changes include:
16+
- Update plotly.js from version 4.0.0 to version 4.1.1 [[#5722](https://github.com/plotly/plotly.py/pull/5722), [#5730](https://github.com/plotly/plotly.py/pull/5730)]. See the plotly.js release notes for [v4.1.0](https://github.com/plotly/plotly.js/releases/tag/v4.1.0) and [v4.1.1](https://github.com/plotly/plotly.js/releases/tag/v4.1.1) for details. Notable changes include:
1717
- Add an opt-in modebar button for downloading Plotly figures as JSON [[#7990](https://github.com/plotly/plotly.js/pull/7990), [#8022](https://github.com/plotly/plotly.js/pull/8022)]
1818
- Add `legend.groupdoubleclick` to set the group behavior for a legend double-click [[#7997](https://github.com/plotly/plotly.js/pull/7997)]
1919
- Increase default double-click delay threshold to 500ms (from 300) [[#8014](https://github.com/plotly/plotly.js/pull/8014)]
2020
- Fix issue with per-point marker color for hover labels in `scattergl`, `quiver` traces [[#8027](https://github.com/plotly/plotly.js/pull/8027)]
21+
- Update `maplibre-gl` to v6 to address [CVE-2026-85061](https://github.com/advisories/GHSA-jrc7-96c5-q579) [[#8035](https://github.com/plotly/plotly.js/pull/8035)]
22+
- Note: Safari 15, Chrome 56, Firefox 51 and later are now required for map traces
2123

2224
## [7.0.0] - 2026-08-25
2325

‎codegen/resources/plot-schema.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14051,7 +14051,7 @@
1405114051
]
1405214052
},
1405314053
"spikethickness": {
14054-
"description": "Sets the width (in px) of the zero line.",
14054+
"description": "Sets the spike line width in pixels.",
1405514055
"dflt": 3,
1405614056
"editType": "none",
1405714057
"valType": "number"
@@ -15300,7 +15300,7 @@
1530015300
]
1530115301
},
1530215302
"spikethickness": {
15303-
"description": "Sets the width (in px) of the zero line.",
15303+
"description": "Sets the spike line width in pixels.",
1530415304
"dflt": 3,
1530515305
"editType": "none",
1530615306
"valType": "number"

‎js/lib/mimeExtension.js‎

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

‎js/package-lock.json‎

Lines changed: 45 additions & 65 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": "4.1.0",
22+
"plotly.js": "4.1.1",
2323
"@lumino/widgets": "~2.4.0"
2424
},
2525
"devDependencies": {

‎plotly/graph_objs/layout/_xaxis.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1507,7 +1507,7 @@ def spikesnap(self, val):
15071507
@property
15081508
def spikethickness(self):
15091509
"""
1510-
Sets the width (in px) of the zero line.
1510+
Sets the spike line width in pixels.
15111511
15121512
The 'spikethickness' property is a number and may be specified as:
15131513
- An int or float
@@ -2588,7 +2588,7 @@ def _prop_descriptions(self):
25882588
Determines whether spikelines are stuck to the cursor
25892589
or to the closest datapoints.
25902590
spikethickness
2591-
Sets the width (in px) of the zero line.
2591+
Sets the spike line width in pixels.
25922592
tick0
25932593
Sets the placement of the first tick on this axis. Use
25942594
with `dtick`. If the axis `type` is "log", then you
@@ -3220,7 +3220,7 @@ def __init__(
32203220
Determines whether spikelines are stuck to the cursor
32213221
or to the closest datapoints.
32223222
spikethickness
3223-
Sets the width (in px) of the zero line.
3223+
Sets the spike line width in pixels.
32243224
tick0
32253225
Sets the placement of the first tick on this axis. Use
32263226
with `dtick`. If the axis `type` is "log", then you

‎plotly/graph_objs/layout/_yaxis.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,7 +1515,7 @@ def spikesnap(self, val):
15151515
@property
15161516
def spikethickness(self):
15171517
"""
1518-
Sets the width (in px) of the zero line.
1518+
Sets the spike line width in pixels.
15191519
15201520
The 'spikethickness' property is a number and may be specified as:
15211521
- An int or float
@@ -2606,7 +2606,7 @@ def _prop_descriptions(self):
26062606
Determines whether spikelines are stuck to the cursor
26072607
or to the closest datapoints.
26082608
spikethickness
2609-
Sets the width (in px) of the zero line.
2609+
Sets the spike line width in pixels.
26102610
tick0
26112611
Sets the placement of the first tick on this axis. Use
26122612
with `dtick`. If the axis `type` is "log", then you
@@ -3248,7 +3248,7 @@ def __init__(
32483248
Determines whether spikelines are stuck to the cursor
32493249
or to the closest datapoints.
32503250
spikethickness
3251-
Sets the width (in px) of the zero line.
3251+
Sets the spike line width in pixels.
32523252
tick0
32533253
Sets the placement of the first tick on this axis. Use
32543254
with `dtick`. If the axis `type` is "log", then you

‎plotly/labextension/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"dependencies": {
2121
"lodash-es": "^4.17.21",
22-
"plotly.js": "4.1.0",
22+
"plotly.js": "4.1.1",
2323
"@lumino/widgets": "~2.4.0"
2424
},
2525
"devDependencies": {
@@ -33,7 +33,7 @@
3333
"outputDir": "../plotly/labextension",
3434
"webpackConfig": "./webpack.config.js",
3535
"_build": {
36-
"load": "static/remoteEntry.25fcd7ead727dc9c.js",
36+
"load": "static/remoteEntry.40f2416a35252f75.js",
3737
"mimeExtension": "./mimeExtension"
3838
}
3939
}

‎plotly/labextension/static/0.8a60fe48f4849a5c.js‎

Lines changed: 0 additions & 3509 deletions
This file was deleted.

‎plotly/labextension/static/0.df6635af820ecea9.js‎

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

0 commit comments

Comments
 (0)