Skip to content

Commit e94dc9d

Browse files
chore: Release v4.3.1
1 parent f242a90 commit e94dc9d

35 files changed

Lines changed: 143622 additions & 170537 deletions

‎CHANGELOG.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,19 @@ To see all merged commits on the main branch that will be part of the next plotl
99

1010
where X.Y.Z is the semver of most recent plotly.js release.
1111

12+
## [4.3.1] -- 2026-11-27
13+
14+
### Fixed
15+
- Fix maximum height and width of a legend with `yref` or `xref` set to `"container"` [[#7158](https://github.com/plotly/plotly.js/pull/7158)], with thanks to @attatrol for the contribution!
16+
- Fix missing period labels at the range ends when using `ticklabelindex` [[#7937](https://github.com/plotly/plotly.js/pull/7937)], with thanks to @my-tien for the contribution!
17+
- Fix `node.x` and `node.y` scaling for vertical `sankey` traces [[#7957](https://github.com/plotly/plotly.js/pull/7957)], with thanks to @waterWang for the contribution!
18+
- Ensure that hoverlabels on category axes with `hovermode` "x", "y", "x unified" and "y unified" never include data points from categories other than the hovered one [[#7960](https://github.com/plotly/plotly.js/pull/7960)], with thanks to @my-tien for the contribution!
19+
- Fix heatmap hover on category axes to report the cell center, not the cell edge, as the point position [[#7960](https://github.com/plotly/plotly.js/pull/7960)]
20+
- Fix normalization of `contours.value` for interval constraints in `contour` and `contourcarpet` [[#8125](https://github.com/plotly/plotly.js/pull/8125)], with thanks to @Lexachoc for the contribution!
21+
- Fix matching axes losing autorange when another group of matching axes has an explicit range [[#8165](https://github.com/plotly/plotly.js/pull/8165)], with thanks to @X6M-Work for the contribution!
22+
- Fix `rangebreaks` when one break overlaps two other breaks, which hid the plot or drew later data over earlier data [[#8167](https://github.com/plotly/plotly.js/pull/8167)], with thanks to @Tornacyclo for the contribution!
23+
24+
1225
## [4.3.0] -- 2026-11-10
1326

1427
### Added

‎CITATION.cff‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors:
99
- family-names: "Samimi"
1010
given-names: "Mojtaba"
1111
title: "Open source Plotly charting library"
12-
version: 4.3.0
12+
version: 4.3.1
1313
doi: 10.5281/zenodo.13964707
14-
date-released: 2026-11-10
14+
date-released: 2026-11-27
1515
url: "https://github.com/plotly/plotly.js"

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
6262
6363
```html
6464
<head>
65-
<script src="https://cdn.plot.ly/plotly-4.3.0.min.js" charset="utf-8"></script>
65+
<script src="https://cdn.plot.ly/plotly-4.3.1.min.js" charset="utf-8"></script>
6666
</head>
6767
<body>
6868
<div id="gd"></div>
@@ -79,7 +79,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
7979
Alternatively, you may consider using [native ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) in the script tag.
8080
```html
8181
<script type="module">
82-
import "https://cdn.plot.ly/plotly-4.3.0.min.js"
82+
import "https://cdn.plot.ly/plotly-4.3.1.min.js"
8383
Plotly.newPlot("gd", [{ y: [1, 2, 3] }])
8484
</script>
8585
```
@@ -89,7 +89,7 @@ Fastly supports Plotly.js with free CDN service. Read more at <https://www.fastl
8989
### Un-minified versions are also available on CDN
9090
While non-minified source files may contain characters outside UTF-8, it is recommended that you specify the `charset` when loading those bundles.
9191
```html
92-
<script src="https://cdn.plot.ly/plotly-4.3.0.js" charset="utf-8"></script>
92+
<script src="https://cdn.plot.ly/plotly-4.3.1.js" charset="utf-8"></script>
9393
```
9494

9595
> Please note that as of v2 the "plotly-latest" outputs (e.g. https://cdn.plot.ly/plotly-latest.min.js) will no longer be updated on the CDN, and will stay at the last v1 patch v1.58.5. Therefore, to use the CDN with plotly.js v2 and higher, you must specify an exact plotly.js version.

‎dist/README.md‎

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ The main plotly.js bundles weight in at:
4343

4444
| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
4545
|-----------|---------------|----------------------|---------------------|
46-
| 10.2 MB | 4.84 MB | 1.49 MB | 10.5 MB |
46+
| 10 MB | 4.82 MB | 1.49 MB | 10.4 MB |
4747

4848
#### CDN links
49-
> https://cdn.plot.ly/plotly-4.3.0.js
49+
> https://cdn.plot.ly/plotly-4.3.1.js
5050
51-
> https://cdn.plot.ly/plotly-4.3.0.min.js
51+
> https://cdn.plot.ly/plotly-4.3.1.min.js
5252
5353

5454
#### npm packages
@@ -91,12 +91,12 @@ The `basic` partial bundle contains trace modules `bar`, `pie` and `scatter`.
9191

9292
| Raw size | Minified size | Minified + gzip size |
9393
|------|-----------------|------------------------|
94-
| 2.97 MB | 1.2 MB | 403 kB |
94+
| 2.96 MB | 1.19 MB | 403 kB |
9595

9696
#### CDN links
97-
> https://cdn.plot.ly/plotly-basic-4.3.0.js
97+
> https://cdn.plot.ly/plotly-basic-4.3.1.js
9898
99-
> https://cdn.plot.ly/plotly-basic-4.3.0.min.js
99+
> https://cdn.plot.ly/plotly-basic-4.3.1.min.js
100100
101101

102102
#### npm packages
@@ -114,12 +114,12 @@ The `cartesian` partial bundle contains trace modules `bar`, `box`, `contour`, `
114114

115115
| Raw size | Minified size | Minified + gzip size |
116116
|------|-----------------|------------------------|
117-
| 3.74 MB | 1.52 MB | 507 kB |
117+
| 3.46 MB | 1.39 MB | 470 kB |
118118

119119
#### CDN links
120-
> https://cdn.plot.ly/plotly-cartesian-4.3.0.js
120+
> https://cdn.plot.ly/plotly-cartesian-4.3.1.js
121121
122-
> https://cdn.plot.ly/plotly-cartesian-4.3.0.min.js
122+
> https://cdn.plot.ly/plotly-cartesian-4.3.1.min.js
123123
124124

125125
#### npm packages
@@ -137,12 +137,12 @@ The `geo` partial bundle contains trace modules `choropleth`, `scatter` and `sca
137137

138138
| Raw size | Minified size | Minified + gzip size |
139139
|------|-----------------|------------------------|
140-
| 3.42 MB | 1.41 MB | 472 kB |
140+
| 3.41 MB | 1.4 MB | 472 kB |
141141

142142
#### CDN links
143-
> https://cdn.plot.ly/plotly-geo-4.3.0.js
143+
> https://cdn.plot.ly/plotly-geo-4.3.1.js
144144
145-
> https://cdn.plot.ly/plotly-geo-4.3.0.min.js
145+
> https://cdn.plot.ly/plotly-geo-4.3.1.min.js
146146
147147

148148
#### npm packages
@@ -160,12 +160,12 @@ The `gl3d` partial bundle contains trace modules `cone`, `isosurface`, `mesh3d`,
160160

161161
| Raw size | Minified size | Minified + gzip size |
162162
|------|-----------------|------------------------|
163-
| 4.47 MB | 1.76 MB | 566 kB |
163+
| 4.46 MB | 1.75 MB | 566 kB |
164164

165165
#### CDN links
166-
> https://cdn.plot.ly/plotly-gl3d-4.3.0.js
166+
> https://cdn.plot.ly/plotly-gl3d-4.3.1.js
167167
168-
> https://cdn.plot.ly/plotly-gl3d-4.3.0.min.js
168+
> https://cdn.plot.ly/plotly-gl3d-4.3.1.min.js
169169
170170

171171
#### npm packages
@@ -183,12 +183,12 @@ The `gl2d` partial bundle contains trace modules `parcoords`, `scatter`, `scatte
183183

184184
| Raw size | Minified size | Minified + gzip size |
185185
|------|-----------------|------------------------|
186-
| 3.71 MB | 1.5 MB | 504 kB |
186+
| 3.71 MB | 1.49 MB | 504 kB |
187187

188188
#### CDN links
189-
> https://cdn.plot.ly/plotly-gl2d-4.3.0.js
189+
> https://cdn.plot.ly/plotly-gl2d-4.3.1.js
190190
191-
> https://cdn.plot.ly/plotly-gl2d-4.3.0.min.js
191+
> https://cdn.plot.ly/plotly-gl2d-4.3.1.min.js
192192
193193

194194
#### npm packages
@@ -206,12 +206,12 @@ The `map` partial bundle contains trace modules `choroplethmap`, `densitymap`, `
206206

207207
| Raw size | Minified size | Minified + gzip size |
208208
|------|-----------------|------------------------|
209-
| 5.43 MB | 2.98 MB | 894 kB |
209+
| 5.54 MB | 3.08 MB | 933 kB |
210210

211211
#### CDN links
212-
> https://cdn.plot.ly/plotly-map-4.3.0.js
212+
> https://cdn.plot.ly/plotly-map-4.3.1.js
213213
214-
> https://cdn.plot.ly/plotly-map-4.3.0.min.js
214+
> https://cdn.plot.ly/plotly-map-4.3.1.min.js
215215
216216

217217
#### npm packages
@@ -229,12 +229,12 @@ The `finance` partial bundle contains trace modules `bar`, `candlestick`, `funne
229229

230230
| Raw size | Minified size | Minified + gzip size |
231231
|------|-----------------|------------------------|
232-
| 3.22 MB | 1.31 MB | 438 kB |
232+
| 3.21 MB | 1.3 MB | 438 kB |
233233

234234
#### CDN links
235-
> https://cdn.plot.ly/plotly-finance-4.3.0.js
235+
> https://cdn.plot.ly/plotly-finance-4.3.1.js
236236
237-
> https://cdn.plot.ly/plotly-finance-4.3.0.min.js
237+
> https://cdn.plot.ly/plotly-finance-4.3.1.min.js
238238
239239

240240
#### npm packages
@@ -252,12 +252,12 @@ The `strict` partial bundle contains trace modules `bar`, `barpolar`, `box`, `ca
252252

253253
| Raw size | Minified size | Minified + gzip size |
254254
|------|-----------------|------------------------|
255-
| 11 MB | 5.19 MB | 1.59 MB |
255+
| 10.8 MB | 5.16 MB | 1.59 MB |
256256

257257
#### CDN links
258-
> https://cdn.plot.ly/plotly-strict-4.3.0.js
258+
> https://cdn.plot.ly/plotly-strict-4.3.1.js
259259
260-
> https://cdn.plot.ly/plotly-strict-4.3.0.min.js
260+
> https://cdn.plot.ly/plotly-strict-4.3.1.min.js
261261
262262

263263
#### npm packages

‎dist/plot-schema.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2822,7 +2822,7 @@
28222822
"valType": "boolean"
28232823
},
28242824
"hoverdistance": {
2825-
"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.",
2825+
"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. For hovermodes *x*, *y*, *x unified* and *y unified* on a category axis, only points that fall in the hovered category are shown in the hover label, regardless of this distance.",
28262826
"dflt": 20,
28272827
"editType": "none",
28282828
"min": -1,
@@ -3495,7 +3495,7 @@
34953495
"valType": "number"
34963496
},
34973497
"maxheight": {
3498-
"description": "Sets the max height (in px) of the legend, or max height ratio (reference height * ratio) if less than or equal to 1. Default value is: 0.5 for horizontal legends; 1 for vertical legends. The minimum allowed height is 30px. For a ratio of 0.5, the legend will take up to 50% of the reference height before displaying a scrollbar. The reference height is the full layout height with the following exception: vertically oriented legends with a `yref` of `\"paper\", located to the side of the plot. In this case, the reference height is the plot height.",
3498+
"description": "Sets the max height (in px) of the legend, or max height ratio (reference height * ratio) if less than or equal to 1. Default value is: 1 for vertically oriented legends with a `yref` of `\"paper\"`, located to the side of the plot; 0.5 for all other legends. The minimum allowed height is 30px. For a ratio of 0.5, the legend will take up to 50% of the reference height before displaying a scrollbar. The reference height is the full layout height with the following exception: vertically oriented legends with a `yref` of `\"paper\"`, located to the side of the plot. In this case, the reference height is the plot height. For a legend with a `yref` of `\"container\"`, the max height is also limited to the space between the legend anchor and the container edge.",
34993499
"editType": "legend",
35003500
"min": 0,
35013501
"valType": "number"
@@ -52459,13 +52459,13 @@
5245952459
"valType": "number"
5246052460
},
5246152461
"x": {
52462-
"description": "The normalized horizontal position of the node.",
52462+
"description": "The normalized position of the node center along the flow axis, measured from the source end. For `orientation` *h* the flow axis is horizontal. For `orientation` *v* the flow axis is vertical. With `direction` *reversed* the source end is the right or bottom edge.",
5246352463
"dflt": [],
5246452464
"editType": "calc",
5246552465
"valType": "data_array"
5246652466
},
5246752467
"y": {
52468-
"description": "The normalized vertical position of the node.",
52468+
"description": "The normalized position of the node center across the flow axis. For `orientation` *h* the value counts down from the top edge. For `orientation` *v* the value counts from the left edge. The value does not depend on `direction`.",
5246952469
"dflt": [],
5247052470
"editType": "calc",
5247152471
"valType": "data_array"

‎dist/plotly-basic.js‎

Lines changed: 111 additions & 54 deletions
Large diffs are not rendered by default.

‎dist/plotly-basic.min.js‎

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

‎dist/plotly-cartesian.js‎

Lines changed: 3385 additions & 10816 deletions
Large diffs are not rendered by default.

‎dist/plotly-cartesian.min.js‎

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

0 commit comments

Comments
 (0)