pypi / plotly
plotly
What changed in plotly 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.
3 breaking1 security3 new APIs and options1 behavior and defaults4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initplotly 712 changes
Breaking changes 3
Raises an error for invalid-length hex codes and emits a warning for hex codes containing alpha.
Map traces now require Safari 15, Chrome 56, Firefox 51 and later.
Plotly Express no longer treats pandas unsigned integer columns as categorical, preventing incorrect orientation and unexpected plots.
Security 1
Updates maplibre-gl to address CVE-2026-85061.
New APIs and options 3
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.
Adds an opt-in modebar button for downloading Plotly figures as JSON.
Adds a setting for choosing legend group behavior on double-click.
Behavior and default changes 1
Increases the default double-click delay threshold from 300ms to 500ms.
Fixes and other changes 4
Fixes an issue that caused an oversized div when showing a figure in Google Colab.
Supports custom tick values and labels when matplotlib tick positions do not follow an arithmetic progression, including on date axes.
Converted figures now take paper and plot background colors from the matplotlib figure and axes.
Fixes per-point marker colors for hover labels in scattergl and quiver traces.