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

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

## [3.6.0] -- 2026-06-01

### Added
- Add support for arrays for the pie property `legendrank`, so that it can be configured per slice [[#7723](https://github.com/plotly/plotly.js/pull/7723)], with thanks to @my-tien for the contribution!
- Add `hoversort` layout attribute to sort unified hover label items by value [[#7734](https://github.com/plotly/plotly.js/pull/7734)], with thanks to @kimsehwan96 for the contribution!

### Fixed
- Fix unexpected `ticklabelindex` behavior when minor ticks are not shown [[#7735](https://github.com/plotly/plotly.js/pull/7735)], with thanks to @my-tien for the contribution!
- Fix issue where `hoveranywhere` / `clickanywhere` would not emit hover and click events over editable shapes [[#7788](https://github.com/plotly/plotly.js/pull/7788)]
- Handle 'pixel' size mode for shape labels [[#7790](https://github.com/plotly/plotly.js/pull/7790)]
- Update box plot defaults to fix issue with calling `Plotly.react` to switch from box to violin plot [[#7811](https://github.com/plotly/plotly.js/pull/7811)]
- Include shapes with `legendgroup` specified when handling legend visibility toggling [[#7813](https://github.com/plotly/plotly.js/pull/7813)]


## [3.5.1] -- 2026-05-01

### Changed
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: 3.5.1
version: 3.6.0
doi: 10.5281/zenodo.13964707
date-released: 2026-05-01
date-released: 2026-06-01
url: "https://github.com/plotly/plotly.js"
6 changes: 3 additions & 3 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-3.5.1.min.js" charset="utf-8"></script>
<script src="https://cdn.plot.ly/plotly-3.6.0.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-3.5.1.min.js"
import "https://cdn.plot.ly/plotly-3.6.0.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-3.5.1.js" charset="utf-8"></script>
<script src="https://cdn.plot.ly/plotly-3.6.0.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
50 changes: 25 additions & 25 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ The main plotly.js bundles weight in at:
| 10.7 MB | 4.6 MB | 1.4 MB | 11 MB |

#### CDN links
> https://cdn.plot.ly/plotly-3.5.1.js
> https://cdn.plot.ly/plotly-3.6.0.js

> https://cdn.plot.ly/plotly-3.5.1.min.js
> https://cdn.plot.ly/plotly-3.6.0.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.7 MB | 1.1 MB | 364.8 kB |
| 2.7 MB | 1.1 MB | 365.3 kB |

#### CDN links
> https://cdn.plot.ly/plotly-basic-3.5.1.js
> https://cdn.plot.ly/plotly-basic-3.6.0.js

> https://cdn.plot.ly/plotly-basic-3.5.1.min.js
> https://cdn.plot.ly/plotly-basic-3.6.0.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.4 MB | 1.4 MB | 463 kB |
| 3.4 MB | 1.4 MB | 463.5 kB |

#### CDN links
> https://cdn.plot.ly/plotly-cartesian-3.5.1.js
> https://cdn.plot.ly/plotly-cartesian-3.6.0.js

> https://cdn.plot.ly/plotly-cartesian-3.5.1.min.js
> https://cdn.plot.ly/plotly-cartesian-3.6.0.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 MB | 1.2 MB | 415.2 kB |
| 3 MB | 1.2 MB | 415.7 kB |

#### CDN links
> https://cdn.plot.ly/plotly-geo-3.5.1.js
> https://cdn.plot.ly/plotly-geo-3.6.0.js

> https://cdn.plot.ly/plotly-geo-3.5.1.min.js
> https://cdn.plot.ly/plotly-geo-3.6.0.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.2 MB | 1.6 MB | 527.4 kB |
| 4.2 MB | 1.6 MB | 527.9 kB |

#### CDN links
> https://cdn.plot.ly/plotly-gl3d-3.5.1.js
> https://cdn.plot.ly/plotly-gl3d-3.6.0.js

> https://cdn.plot.ly/plotly-gl3d-3.5.1.min.js
> https://cdn.plot.ly/plotly-gl3d-3.6.0.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.8 MB | 1.5 MB | 521.2 kB |
| 3.8 MB | 1.5 MB | 521.8 kB |

#### CDN links
> https://cdn.plot.ly/plotly-gl2d-3.5.1.js
> https://cdn.plot.ly/plotly-gl2d-3.6.0.js

> https://cdn.plot.ly/plotly-gl2d-3.5.1.min.js
> https://cdn.plot.ly/plotly-gl2d-3.6.0.min.js


#### npm packages
Expand All @@ -206,12 +206,12 @@ The `mapbox` partial bundle contains trace modules `choroplethmapbox`, `densitym

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 4.5 MB | 1.9 MB | 580.1 kB |
| 4.5 MB | 1.9 MB | 580.7 kB |

#### CDN links
> https://cdn.plot.ly/plotly-mapbox-3.5.1.js
> https://cdn.plot.ly/plotly-mapbox-3.6.0.js

> https://cdn.plot.ly/plotly-mapbox-3.5.1.min.js
> https://cdn.plot.ly/plotly-mapbox-3.6.0.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 |
|------|-----------------|------------------------|
| 2.9 MB | 1.2 MB | 398.5 kB |
| 2.9 MB | 1.2 MB | 398.9 kB |

#### CDN links
> https://cdn.plot.ly/plotly-finance-3.5.1.js
> https://cdn.plot.ly/plotly-finance-3.6.0.js

> https://cdn.plot.ly/plotly-finance-3.5.1.min.js
> https://cdn.plot.ly/plotly-finance-3.6.0.min.js


#### npm packages
Expand All @@ -255,9 +255,9 @@ The `strict` partial bundle contains trace modules `bar`, `barpolar`, `box`, `ca
| 11.5 MB | 4.9 MB | 1.5 MB |

#### CDN links
> https://cdn.plot.ly/plotly-strict-3.5.1.js
> https://cdn.plot.ly/plotly-strict-3.6.0.js

> https://cdn.plot.ly/plotly-strict-3.5.1.min.js
> https://cdn.plot.ly/plotly-strict-3.6.0.min.js


#### npm packages
Expand Down
19 changes: 18 additions & 1 deletion dist/plot-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3063,6 +3063,17 @@
"y unified"
]
},
"hoversort": {
"description": "Determines the order of items shown in unified hover labels. If *trace*, items are sorted by trace index. If *value descending*, items are sorted by value from largest to smallest. If *value ascending*, items are sorted by value from smallest to largest. Only applies when `hovermode` is *x unified* or *y unified*.",
"dflt": "trace",
"editType": "none",
"valType": "enumerated",
"values": [
"trace",
"value descending",
"value ascending"
]
},
"hoversubplots": {
"description": "Determines expansion of hover effects to other subplots If *single* just the axis pair of the primary point is included without overlaying subplots. If *overlaying* all subplots using the main axis and occupying the same space are included. If *axis*, also include stacked subplots using the same axis when `hovermode` is set to *x*, *x unified*, *y* or *y unified*.",
"dflt": "overlaying",
Expand Down Expand Up @@ -56775,11 +56786,17 @@
}
},
"legendrank": {
"description": "Sets the legend rank for this trace. Items and groups with smaller ranks are presented on top/left side while with *reversed* `legend.traceorder` they are on bottom/right side. The default legendrank is 1000, so that you can use ranks less than 1000 to place certain items before all unranked items, and ranks greater than 1000 to go after all unranked items. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout.",
"arrayOk": true,
"description": "Sets the legend rank for this pie. If passed as an array, this will set the legend rank of the individual pie slices. Items and groups with smaller ranks are presented on top/left side while with *reversed* `legend.traceorder` they are on bottom/right side. The default legendrank is 1000, so that you can use ranks less than 1000 to place certain items before all unranked items, and ranks greater than 1000 to go after all unranked items. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout.",
"dflt": 1000,
"editType": "style",
"valType": "number"
},
"legendranksrc": {
"description": "Sets the source reference on Chart Studio Cloud for `legendrank`.",
"editType": "none",
"valType": "string"
},
"legendsrc": {
"description": "Sets the source reference on Chart Studio Cloud for `legend`.",
"editType": "none",
Expand Down
Loading
Loading