npm / plotly.js-dist-min
plotly.js-dist-min
What changed in plotly.js-dist-min 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-29.
2 breaking3 new APIs and options1 behavior and defaults4 tooling12 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initplotly.js-dist-min 422 changes
Breaking changes 2
Map traces now require Safari 15, Chrome 56, Firefox 51 or later because maplibre-gl v6 dropped WebGL1 support.
The default double-click delay threshold increases from 300ms to 500ms.
New APIs and options 3
formatnow acceptsfull-json.An opt-in modebar button lets users download Plotly figures as JSON.
Sets the group behavior for a legend double-click.
Behavior and default changes 1
Responsive chart resizing uses ResizeObserver instead of listening for window resize events.
Tooling 4
Generated types include trace-contributed layout attributes.
TypeScript declarations are added for the modular
lib/entry points.Type definitions are included in the appropriate partial bundles.
Type generation handles regex enum values.
Fixes and other changes 12
filenameis optional becausedownloadImagesupplies it.Plots redraw when a font they use finishes loading.
Modebar hover colors now update after
colororactivecolorchanges.On a hover tie, the trace drawn last is picked, matching
scatter.On a hover tie, the trace drawn last is picked, matching
scatter.heightacceptsnulland is optional becausetoImagesupplies it.widthacceptsnulland is optional becausetoImagesupplies it.Types for
arrayOknumber and color attributes now allow typed arrays.Box and lasso selection of scattermap points now works on rotated or pitched maps.
Hover labels resolve per-point marker color.
Hover labels resolve per-point marker color.
TypeScript files under
src/are compiled to JavaScript during packaging to fix Node resolution.