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
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,22 @@ 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.1.0]
## [3.1.1] -- 2025-09-29

### Fixed
- Update plot with all config changes during call to `Plotly.react` [[#7475](https://github.com/plotly/plotly.js/pull/7475)]
- Fix wheel event handler `Violation` in Chromium by setting `passive: true` [[#7517](https://github.com/plotly/plotly.js/pull/7517)]
- Fix `locationmode` warning to be less aggressive: show warning only when `locationmode` is `'country names'` [[#7520](https://github.com/plotly/plotly.js/pull/7520)]
- Refactor `drawMainTitle` to use context-specific selections for title and subtitle, avoiding conflicts when multiple plots are present on the same page [[#7522](https://github.com/plotly/plotly.js/pull/7522)], with thanks to @davibarbosa2 for the contribution!
- Fix broken styling of map attributions [[#7526](https://github.com/plotly/plotly.js/pull/7526)]
- Calculate colorscale properly for histogram when marker `cmin`/`cmax`/`cmid` values are undefined [[#7534](https://github.com/plotly/plotly.js/pull/7534)]
- Tidy up some stray characters in attribute descriptions [[#7539](https://github.com/plotly/plotly.js/pull/7539)], [[#7540](https://github.com/plotly/plotly.js/pull/7540)]
- Fix some typos (and a conditional check) [[#7542](https://github.com/plotly/plotly.js/pull/7542)], with thanks to @musvaage for the contribution!
- Fix cropping of subunits in USA topojson, clean up land and coastlines layers for all topojson [[#7555](https://github.com/plotly/plotly.js/pull/7555)]
- Fix issue causing empty ScatterGL plots when using text elements [#7563](https://github.com/plotly/plotly.js/pull/7563)


## [3.1.0] -- 2025-08-08

### Added
- Add property `zerolinelayer` to cartesian axes to allow drawing zeroline above traces [[#7269](https://github.com/plotly/plotly.js/pull/7269)]
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.1.0
version: 3.1.1
doi: 10.5281/zenodo.13964707
date-released: 2025-08-07
date-released: 2025-09-29
url: "https://github.com/plotly/plotly.js"
2 changes: 1 addition & 1 deletion 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.1.0.min.js" charset="utf-8"></script>
<script src="https://cdn.plot.ly/plotly-3.1.1.min.js" charset="utf-8"></script>
</head>
<body>
<div id="gd"></div>
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.6 MB | 4.5 MB | 1.4 MB | 10.9 MB |
| 10.7 MB | 4.6 MB | 1.4 MB | 11 MB |

#### CDN links
> https://cdn.plot.ly/plotly-3.1.0.js
> https://cdn.plot.ly/plotly-3.1.1.js

> https://cdn.plot.ly/plotly-3.1.0.min.js
> https://cdn.plot.ly/plotly-3.1.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.6 MB | 1012.1 kB | 350.6 kB |
| 2.6 MB | 1.1 MB | 360.3 kB |

#### CDN links
> https://cdn.plot.ly/plotly-basic-3.1.0.js
> https://cdn.plot.ly/plotly-basic-3.1.1.js

> https://cdn.plot.ly/plotly-basic-3.1.0.min.js
> https://cdn.plot.ly/plotly-basic-3.1.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.3 MB | 1.3 MB | 448.2 kB |
| 3.3 MB | 1.3 MB | 458.5 kB |

#### CDN links
> https://cdn.plot.ly/plotly-cartesian-3.1.0.js
> https://cdn.plot.ly/plotly-cartesian-3.1.1.js

> https://cdn.plot.ly/plotly-cartesian-3.1.0.min.js
> https://cdn.plot.ly/plotly-cartesian-3.1.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 |
|------|-----------------|------------------------|
| 2.9 MB | 1.1 MB | 400.1 kB |
| 2.9 MB | 1.2 MB | 410.3 kB |

#### CDN links
> https://cdn.plot.ly/plotly-geo-3.1.0.js
> https://cdn.plot.ly/plotly-geo-3.1.1.js

> https://cdn.plot.ly/plotly-geo-3.1.0.min.js
> https://cdn.plot.ly/plotly-geo-3.1.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.1 MB | 1.5 MB | 514.7 kB |
| 4.2 MB | 1.6 MB | 525 kB |

#### CDN links
> https://cdn.plot.ly/plotly-gl3d-3.1.0.js
> https://cdn.plot.ly/plotly-gl3d-3.1.1.js

> https://cdn.plot.ly/plotly-gl3d-3.1.0.min.js
> https://cdn.plot.ly/plotly-gl3d-3.1.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.7 MB | 1.4 MB | 507 kB |
| 3.8 MB | 1.5 MB | 517.2 kB |

#### CDN links
> https://cdn.plot.ly/plotly-gl2d-3.1.0.js
> https://cdn.plot.ly/plotly-gl2d-3.1.1.js

> https://cdn.plot.ly/plotly-gl2d-3.1.0.min.js
> https://cdn.plot.ly/plotly-gl2d-3.1.1.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.4 MB | 1.8 MB | 565.7 kB |
| 4.5 MB | 1.8 MB | 575.8 kB |

#### CDN links
> https://cdn.plot.ly/plotly-mapbox-3.1.0.js
> https://cdn.plot.ly/plotly-mapbox-3.1.1.js

> https://cdn.plot.ly/plotly-mapbox-3.1.0.min.js
> https://cdn.plot.ly/plotly-mapbox-3.1.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 |
|------|-----------------|------------------------|
| 2.8 MB | 1.1 MB | 384.2 kB |
| 2.9 MB | 1.2 MB | 394.4 kB |

#### CDN links
> https://cdn.plot.ly/plotly-finance-3.1.0.js
> https://cdn.plot.ly/plotly-finance-3.1.1.js

> https://cdn.plot.ly/plotly-finance-3.1.0.min.js
> https://cdn.plot.ly/plotly-finance-3.1.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.4 MB | 4.9 MB | 1.5 MB |
| 11.5 MB | 4.9 MB | 1.5 MB |

#### CDN links
> https://cdn.plot.ly/plotly-strict-3.1.0.js
> https://cdn.plot.ly/plotly-strict-3.1.1.js

> https://cdn.plot.ly/plotly-strict-3.1.0.min.js
> https://cdn.plot.ly/plotly-strict-3.1.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 @@ -4008,7 +4008,7 @@
"valType": "string"
},
"type": {
"description": "Sets the layer type, that is the how the layer data set in `source` will be rendered With `sourcetype` set to *geojson*, the following values are allowed: *circle*, *line*, *fill* and *symbol*. but note that *line* and *fill* are not compatible with Point GeoJSON geometries. With `sourcetype` set to *vector*, the following values are allowed: *circle*, *line*, *fill* and *symbol*. With `sourcetype` set to *raster* or `*image*`, only the *raster* value is allowed.",
"description": "Sets the layer type, that is the how the layer data set in `source` will be rendered With `sourcetype` set to *geojson*, the following values are allowed: *circle*, *line*, *fill* and *symbol*. but note that *line* and *fill* are not compatible with Point GeoJSON geometries. With `sourcetype` set to *vector*, the following values are allowed: *circle*, *line*, *fill* and *symbol*. With `sourcetype` set to *raster* or *image*, only the *raster* value is allowed.",
"dflt": "circle",
"editType": "plot",
"valType": "enumerated",
Expand Down Expand Up @@ -4414,7 +4414,7 @@
"valType": "string"
},
"type": {
"description": "Sets the layer type, that is the how the layer data set in `source` will be rendered With `sourcetype` set to *geojson*, the following values are allowed: *circle*, *line*, *fill* and *symbol*. but note that *line* and *fill* are not compatible with Point GeoJSON geometries. With `sourcetype` set to *vector*, the following values are allowed: *circle*, *line*, *fill* and *symbol*. With `sourcetype` set to *raster* or `*image*`, only the *raster* value is allowed.",
"description": "Sets the layer type, that is the how the layer data set in `source` will be rendered With `sourcetype` set to *geojson*, the following values are allowed: *circle*, *line*, *fill* and *symbol*. but note that *line* and *fill* are not compatible with Point GeoJSON geometries. With `sourcetype` set to *vector*, the following values are allowed: *circle*, *line*, *fill* and *symbol*. With `sourcetype` set to *raster* or *image*, only the *raster* value is allowed.",
"dflt": "circle",
"editType": "plot",
"valType": "enumerated",
Expand Down Expand Up @@ -47932,7 +47932,7 @@
"valType": "number"
},
"source": {
"description": "Specifies the data URI of the image to be visualized. The URI consists of \"data:image/[<media subtype>][;base64],<data>\"",
"description": "Specifies the data URI of the image to be visualized. The URI consists of \"data:image/[<media subtype\\\\>][;base64\\\\],<data\\\\>\"",
"editType": "calc",
"valType": "string"
},
Expand Down Expand Up @@ -53288,7 +53288,7 @@
]
},
"hovertemplate": {
"description": "Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example \"y: %{y}\" as well as %{xother}, {%_xother}, {%_xother_}, {%xother_}. When showing info for several points, *xother* will be added to those with different x positions from the first point. An underscore before or after *(x|y)other* will add a space on that side, only when this field is shown. Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example \"Price: %{y:$.2f}\". https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example \"Day: %{2019-01-01|%A}\". https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. This value here applies when hovering over dimensions. Note that `*categorycount`, *colorcount* and *bandcolorcount* are only available when `hoveron` contains the *color* flagFinally, the template string has access to variables `count`, `probability`, `category`, `categorycount`, `colorcount` and `bandcolorcount`. Anything contained in tag `<extra>` is displayed in the secondary box, for example `<extra>%{fullData.name}</extra>`. To hide the secondary box completely, use an empty tag `<extra></extra>`.",
"description": "Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example \"y: %{y}\" as well as %{xother}, {%_xother}, {%_xother_}, {%xother_}. When showing info for several points, *xother* will be added to those with different x positions from the first point. An underscore before or after *(x|y)other* will add a space on that side, only when this field is shown. Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example \"Price: %{y:$.2f}\". https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example \"Day: %{2019-01-01|%A}\". https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. This value here applies when hovering over dimensions. Note that *categorycount*, *colorcount* and *bandcolorcount* are only available when `hoveron` contains the *color* flag. Finally, the template string has access to variables `count`, `probability`, `category`, `categorycount`, `colorcount` and `bandcolorcount`. Anything contained in tag `<extra>` is displayed in the secondary box, for example `<extra>%{fullData.name}</extra>`. To hide the secondary box completely, use an empty tag `<extra></extra>`.",
"dflt": "",
"editType": "plot",
"valType": "string"
Expand Down
218 changes: 105 additions & 113 deletions dist/plotly-basic.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions dist/plotly-basic.min.js

Large diffs are not rendered by default.

234 changes: 121 additions & 113 deletions dist/plotly-cartesian.js

Large diffs are not rendered by default.

42 changes: 21 additions & 21 deletions dist/plotly-cartesian.min.js

Large diffs are not rendered by default.

219 changes: 121 additions & 98 deletions dist/plotly-finance.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions dist/plotly-finance.min.js

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions dist/plotly-geo-assets.js

Large diffs are not rendered by default.

252 changes: 121 additions & 131 deletions dist/plotly-geo.js

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions dist/plotly-geo.min.js

Large diffs are not rendered by default.

270 changes: 166 additions & 104 deletions dist/plotly-gl2d.js

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions dist/plotly-gl2d.min.js

Large diffs are not rendered by default.

216 changes: 104 additions & 112 deletions dist/plotly-gl3d.js

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions dist/plotly-gl3d.min.js

Large diffs are not rendered by default.

218 changes: 105 additions & 113 deletions dist/plotly-mapbox.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

322 changes: 199 additions & 123 deletions dist/plotly-strict.js

Large diffs are not rendered by default.

Loading