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
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,19 @@ To see all merged commits on the main branch that will be part of the next plotl

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

## [4.3.1] -- 2026-11-27

### Fixed
- 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!
- 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!
- 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!
- 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!
- 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)]
- 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!
- 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!
- 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!


## [4.3.0] -- 2026-11-10

### Added
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors:
- family-names: "Samimi"
given-names: "Mojtaba"
title: "Open source Plotly charting library"
version: 4.3.0
version: 4.3.1
doi: 10.5281/zenodo.13964707
date-released: 2026-11-10
date-released: 2026-11-27
url: "https://github.com/plotly/plotly.js"
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo

```html
<head>
<script src="https://cdn.plot.ly/plotly-4.3.0.min.js" charset="utf-8"></script>
<script src="https://cdn.plot.ly/plotly-4.3.1.min.js" charset="utf-8"></script>
</head>
<body>
<div id="gd"></div>
Expand All @@ -79,7 +79,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
Alternatively, you may consider using [native ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) in the script tag.
```html
<script type="module">
import "https://cdn.plot.ly/plotly-4.3.0.min.js"
import "https://cdn.plot.ly/plotly-4.3.1.min.js"
Plotly.newPlot("gd", [{ y: [1, 2, 3] }])
</script>
```
Expand All @@ -89,7 +89,7 @@ Fastly supports Plotly.js with free CDN service. Read more at <https://www.fastl
### Un-minified versions are also available on CDN
While non-minified source files may contain characters outside UTF-8, it is recommended that you specify the `charset` when loading those bundles.
```html
<script src="https://cdn.plot.ly/plotly-4.3.0.js" charset="utf-8"></script>
<script src="https://cdn.plot.ly/plotly-4.3.1.js" charset="utf-8"></script>
```

> 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.
Expand Down Expand Up @@ -154,8 +154,9 @@ Plotly.js is at the core of a large and dynamic ecosystem with many contributors
| Contributor | GitHub | Status |
|-------------|--------|---------|
|**Alex C. Johnson**| [@alexcjohnson](https://github.com/alexcjohnson) | Active, Maintainer |
|**Emily Kellison-Linn** | [@emilykl](https://github.com/emilykl) | Active, Maintainer |
|**Cameron DeCoster** | [@camdecoster](https://github.com/camdecoster) | Active, Maintainer |
|**Adrian Borrmann** | [@KoolADE85](https://github.com/KoolADE85) | Active, Maintainer |
|**Emily Kellison-Linn** | [@emilykl](https://github.com/emilykl) | Active, Community Contributor |
|**Mojtaba Samimi** | [@archmoj](https://github.com/archmoj) | Active, Community Contributor |
|**My-Tien Nguyen**| [@my-tien](https://github.com/my-tien) | Active, Community Contributor |
|**Birk Skyum**| [@birkskyum](https://github.com/birkskyum) | Active, Community Contributor |
Expand Down
54 changes: 27 additions & 27 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ The main plotly.js bundles weight in at:

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

#### CDN links
> https://cdn.plot.ly/plotly-4.3.0.js
> https://cdn.plot.ly/plotly-4.3.1.js

> https://cdn.plot.ly/plotly-4.3.0.min.js
> https://cdn.plot.ly/plotly-4.3.1.min.js


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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.97 MB | 1.2 MB | 403 kB |
| 2.96 MB | 1.19 MB | 403 kB |

#### CDN links
> https://cdn.plot.ly/plotly-basic-4.3.0.js
> https://cdn.plot.ly/plotly-basic-4.3.1.js

> https://cdn.plot.ly/plotly-basic-4.3.0.min.js
> https://cdn.plot.ly/plotly-basic-4.3.1.min.js


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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.74 MB | 1.52 MB | 507 kB |
| 3.46 MB | 1.39 MB | 470 kB |

#### CDN links
> https://cdn.plot.ly/plotly-cartesian-4.3.0.js
> https://cdn.plot.ly/plotly-cartesian-4.3.1.js

> https://cdn.plot.ly/plotly-cartesian-4.3.0.min.js
> https://cdn.plot.ly/plotly-cartesian-4.3.1.min.js


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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.42 MB | 1.41 MB | 472 kB |
| 3.41 MB | 1.4 MB | 472 kB |

#### CDN links
> https://cdn.plot.ly/plotly-geo-4.3.0.js
> https://cdn.plot.ly/plotly-geo-4.3.1.js

> https://cdn.plot.ly/plotly-geo-4.3.0.min.js
> https://cdn.plot.ly/plotly-geo-4.3.1.min.js


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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 4.47 MB | 1.76 MB | 566 kB |
| 4.46 MB | 1.75 MB | 566 kB |

#### CDN links
> https://cdn.plot.ly/plotly-gl3d-4.3.0.js
> https://cdn.plot.ly/plotly-gl3d-4.3.1.js

> https://cdn.plot.ly/plotly-gl3d-4.3.0.min.js
> https://cdn.plot.ly/plotly-gl3d-4.3.1.min.js


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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.71 MB | 1.5 MB | 504 kB |
| 3.71 MB | 1.49 MB | 504 kB |

#### CDN links
> https://cdn.plot.ly/plotly-gl2d-4.3.0.js
> https://cdn.plot.ly/plotly-gl2d-4.3.1.js

> https://cdn.plot.ly/plotly-gl2d-4.3.0.min.js
> https://cdn.plot.ly/plotly-gl2d-4.3.1.min.js


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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 5.43 MB | 2.98 MB | 894 kB |
| 5.54 MB | 3.08 MB | 933 kB |

#### CDN links
> https://cdn.plot.ly/plotly-map-4.3.0.js
> https://cdn.plot.ly/plotly-map-4.3.1.js

> https://cdn.plot.ly/plotly-map-4.3.0.min.js
> https://cdn.plot.ly/plotly-map-4.3.1.min.js


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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.22 MB | 1.31 MB | 438 kB |
| 3.21 MB | 1.3 MB | 438 kB |

#### CDN links
> https://cdn.plot.ly/plotly-finance-4.3.0.js
> https://cdn.plot.ly/plotly-finance-4.3.1.js

> https://cdn.plot.ly/plotly-finance-4.3.0.min.js
> https://cdn.plot.ly/plotly-finance-4.3.1.min.js


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

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 11 MB | 5.19 MB | 1.59 MB |
| 10.8 MB | 5.16 MB | 1.59 MB |

#### CDN links
> https://cdn.plot.ly/plotly-strict-4.3.0.js
> https://cdn.plot.ly/plotly-strict-4.3.1.js

> https://cdn.plot.ly/plotly-strict-4.3.0.min.js
> https://cdn.plot.ly/plotly-strict-4.3.1.min.js


#### npm packages
Expand Down
8 changes: 4 additions & 4 deletions dist/plot-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2822,7 +2822,7 @@
"valType": "boolean"
},
"hoverdistance": {
"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.",
"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.",
"dflt": 20,
"editType": "none",
"min": -1,
Expand Down Expand Up @@ -3495,7 +3495,7 @@
"valType": "number"
},
"maxheight": {
"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.",
"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.",
"editType": "legend",
"min": 0,
"valType": "number"
Expand Down Expand Up @@ -52459,13 +52459,13 @@
"valType": "number"
},
"x": {
"description": "The normalized horizontal position of the node.",
"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.",
"dflt": [],
"editType": "calc",
"valType": "data_array"
},
"y": {
"description": "The normalized vertical position of the node.",
"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`.",
"dflt": [],
"editType": "calc",
"valType": "data_array"
Expand Down
165 changes: 111 additions & 54 deletions dist/plotly-basic.js

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions dist/plotly-basic.min.js

Large diffs are not rendered by default.

14,201 changes: 3,385 additions & 10,816 deletions dist/plotly-cartesian.js

Large diffs are not rendered by default.

111 changes: 13 additions & 98 deletions dist/plotly-cartesian.min.js

Large diffs are not rendered by default.

Loading
Loading