# What changed in plotly

> 12 changes in plotly 7 from its official release notes, upgrade guides and advisories: 3 breaking, 1 security, 3 new APIs and options. Each one cited. Sources checked 2026-10-21. HTML: https://unstale.sh/pypi/plotly/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## plotly 7

### Breaking changes

- Raises an error for invalid-length hex codes and emits a warning for hex codes containing alpha. (7.1.0) — [release notes](https://github.com/plotly/plotly.py/releases/tag/v7.1.0)
- Map traces now require Safari 15, Chrome 56, Firefox 51 and later. (7.1.0) — [release notes](https://github.com/plotly/plotly.py/releases/tag/v7.1.0)
- Plotly Express no longer treats pandas unsigned integer columns as categorical, preventing incorrect orientation and unexpected plots. (7.1.0) — [release notes](https://github.com/plotly/plotly.py/releases/tag/v7.1.0)

### Security

- Updates maplibre-gl to address CVE-2026-85061. (7.1.0) — [release notes](https://github.com/plotly/plotly.py/releases/tag/v7.1.0)

### New APIs and options

- Supports heatmap strips in the x or y margin, colored by the same z/histfunc aggregate as the main plot and sharing its color scale. (7.1.0) — [release notes](https://github.com/plotly/plotly.py/releases/tag/v7.1.0)
- Adds an opt-in modebar button for downloading Plotly figures as JSON. (7.1.0) — [release notes](https://github.com/plotly/plotly.py/releases/tag/v7.1.0)
- Adds a setting for choosing legend group behavior on double-click. (7.1.0) — [release notes](https://github.com/plotly/plotly.py/releases/tag/v7.1.0)

### Behavior and default changes

- Increases the default double-click delay threshold from 300ms to 500ms. (7.1.0) — [release notes](https://github.com/plotly/plotly.py/releases/tag/v7.1.0)

### Fixes and other changes

- Fixes an issue that caused an oversized div when showing a figure in Google Colab. (7.1.0) — [release notes](https://github.com/plotly/plotly.py/releases/tag/v7.1.0)
- Supports custom tick values and labels when matplotlib tick positions do not follow an arithmetic progression, including on date axes. (7.1.0) — [release notes](https://github.com/plotly/plotly.py/releases/tag/v7.1.0)
- Converted figures now take paper and plot background colors from the matplotlib figure and axes. (7.1.0) — [release notes](https://github.com/plotly/plotly.py/releases/tag/v7.1.0)
- Fixes per-point marker colors for hover labels in scattergl and quiver traces. (7.1.0) — [release notes](https://github.com/plotly/plotly.py/releases/tag/v7.1.0)
