unstale

pypi / plotly

plotly

What changed in plotly 6 to 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-05.

63 breaking1 security2 deprecations24 new APIs and options3 performance10 behavior and defaults1 tooling26 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.3.1 on npm

plotly 766 changes

Breaking changes 43

  • Raises an error for invalid-length hex codes and emits a warning for hex codes containing alpha.

    7.1.0release notes

  • Map traces now require Safari 15, Chrome 56, Firefox 51 and later.

    7.1.0release notes

  • Plotly Express no longer treats pandas unsigned integer columns as categorical, preventing incorrect orientation and unexpected plots.

    7.1.0release notes

  • Color processing switches to culori: decimal 0–1 rgb()/rgba(), hsv(), and invalid syntax are no longer supported; several additional CSS color formats are supported.

    7.0.0release notes

  • The deprecated Figure Factory function is removed.

    7.0.0release notesupgrade guide

  • Removed the deprecated figure factory.

    7.0.0upgrade guide

  • Colors are parsed according to CSS Color 4; hsv(), several HSL/RGB forms, and hex values without a leading # no longer behave as before, and unparseable colors use the attribute default.

    7.0.0upgrade guide

  • The engine argument is removed from image-generation functions and renderer constructors.

    7.0.0release notesupgrade guide

  • The engine argument has been removed from this image export API.

    7.0.0upgrade guide

  • Removed the Mapbox-based trace; use go.Densitymap instead.

    7.0.0upgrade guide

  • Marker icons are now tinted with marker.color; pass color="black" for the previous appearance.

    7.0.0upgrade guide

  • Removed the Mapbox-based trace; use go.Scattermap instead.

    7.0.0upgrade guide

  • Defaults axis.matches to True, linking axes in the same row and column for coordinated pan and zoom.

    7.0.0upgrade guide

  • Static image generation no longer supports Kaleido versions less than v1.0.0.

    7.0.0release notesupgrade guide

  • The default changes from false to 'locations', so geo subplots auto-fit the initial view to trace data.

    7.0.0release notesupgrade guide

  • Removed because it referenced data sources in Chart Studio.

    7.0.0upgrade guide

  • Removed the mapbox subplot; use layout.map, which takes the same attributes.

    7.0.0upgrade guide

  • Tile-map legend swatches always draw a circle, regardless of marker.symbol.

    7.0.0upgrade guide

  • With "country names", resolution accepts more forms and ignores case, accents, and punctuation; partial accidental matches are rejected, and unrecognized locations are logged and skipped.

    7.0.0upgrade guide

  • The icon set was updated, and a few icon names were removed.

    7.0.0upgrade guide

  • The mapbox subplot is removed.

    7.0.0release notes

  • In Plotly Express, mapbox_style becomes map_style.

    7.0.0upgrade guide

  • The mapboxAccessToken config option is removed.

    7.0.0release notes

  • Histogram marginal subplots in density_heatmap and density_contour now apply histfunc/z aggregation instead of always showing raw bin counts.

    7.0.0release notes

  • Support for MathJax v2 is dropped.

    7.0.0release notesupgrade guide

  • Support is added for MathJax v4 to render mathematical equations in charts.

    7.0.0release notes

  • Static image generation no longer supports Orca.

    7.0.0release notes

  • Support for Orca has been removed.

    7.0.0upgrade guide

  • The engine argument has been removed from this API.

    7.0.0upgrade guide

  • The engine argument has been removed from this image export API.

    7.0.0upgrade guide

  • The engine argument has been removed from this image export API.

    7.0.0upgrade guide

  • The engine argument has been removed from this image export API.

    7.0.0upgrade guide

  • Removed the Mapbox-based function; use px.choropleth_map instead.

    7.0.0upgrade guide

  • Removed the Mapbox-based function; use px.density_map instead.

    7.0.0upgrade guide

  • Removed the Mapbox-based function; use px.line_map instead.

    7.0.0upgrade guide

  • Removed the Mapbox-based function; use px.scatter_map instead.

    7.0.0upgrade guide

  • The updated layout algorithm can shift node positions and link paths for the same data, with links tending to cross less.

    7.0.0upgrade guide

  • The initial map view now dynamically computes center and zoom to auto-fit trace data by default.

    7.0.0release notes

  • The trace type and its corresponding graph_objects and Plotly Express functions are removed; use the equivalent map traces instead.

    7.0.0release notesupgrade guide

  • Removed as a Chart Studio configuration option.

    7.0.0upgrade guide

  • Removed from all traces because the Chart Studio streaming service is no longer available.

    7.0.0upgrade guide

  • An overlaying axis now defaults to "sync", drawing ticks and gridlines at the base axis positions; use "auto" for independent grids.

    7.0.0upgrade guide

  • Removed src attributes, which referenced data sources in Chart Studio.

    7.0.0upgrade guide

Security 1

New APIs and options 10

  • 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.0release notes

  • Adds an opt-in modebar button for downloading Plotly figures as JSON.

    7.1.0release notes

  • Adds a setting for choosing legend group behavior on double-click.

    7.1.0release notes

  • New Sankey attribute controls flow along the orientation axis; "reversed" flows right to left or bottom to top.

    7.0.0upgrade guide

  • Clamps how far users can zoom a geo subplot; the value is a multiplier of projection.scale.

    7.0.0upgrade guide

  • Adds an attribute to enable or disable map auto-fitting; its default is 'locations'.

    7.0.0release notesupgrade guide

  • Controls Sankey link ordering; "auto" reorders links to reduce crossings, while "input" preserves input order.

    7.0.0upgrade guide

  • Controls Sankey node ordering; "auto" reorders nodes to reduce crossings, while "input" preserves input order.

    7.0.0upgrade guide

  • A new trace type visualizes vector fields using arrows.

    7.0.0release notesupgrade guide

  • A modebar button generates a chart-sharing link via Plotly Cloud.

    7.0.0release notes

Behavior and default changes 4

  • Increases the default double-click delay threshold from 300ms to 500ms.

    7.1.0release notes

  • Version 7 upgrades the bundled Plotly.js from version 3 to version 4, incorporating its changes; most figures render without changes.

    7.0.0upgrade guide

  • Auto-fitting behavior improves when zoom and center are not specified.

    7.0.0release notes

  • Enabled by default and adds a Share chart button to the mode bar.

    7.0.0upgrade guide

Fixes and other changes 8

  • Fixes an issue that caused an oversized div when showing a figure in Google Colab.

    7.1.0release notes

  • Supports custom tick values and labels when matplotlib tick positions do not follow an arithmetic progression, including on date axes.

    7.1.0release notes

  • Converted figures now take paper and plot background colors from the matplotlib figure and axes.

    7.1.0release notes

  • Fixes per-point marker colors for hover labels in scattergl and quiver traces.

    7.1.0release notes

  • GeoJSON bounding-box computation is fixed for choropleth and scattergeo geometries crossing the antimeridian.

    7.0.0release notes

  • Correctly parses 3-digit shorthand hexadecimal colors such as #FFF.

    7.0.0release notesupgrade guide

  • Matplotlib path collections in data coordinates are rendered as filled polygons or lines rather than silently dropped.

    7.0.0release notes

  • The generated HTML template now includes a doctype declaration.

    7.0.0release notes

plotly 664 changes

Breaking changes 20

  • The modebar button was renamed from sendDataToCloud and updated to upload the chart to Plotly Cloud; the receiving endpoint is not yet functional, so uploads will not complete.

    6.9.0release notes

  • numpy versions less than 1.22 are no longer supported.

    6.7.0release notes

  • Removes support for the deprecated attribute; use annotation.xref and annotation.yref instead.

    6.0.0release notes

  • Drops deprecated autotick attributes from cartesian axes.

    6.0.0release notes

  • Removes support for the deprecated attribute; use orientation instead.

    6.0.0release notes

  • Drops gl2d subplots.

    6.0.0release notes

  • Removes support for the deprecated attribute; use gl3d.camera instead.

    6.0.0release notes

  • go.FigureWidget now uses anywidget, which must be installed.

    6.0.0upgrade guiderelease notes

  • The trace was removed; use heatmap instead.

    6.0.0upgrade guiderelease notes

  • Jupyter Notebook versions earlier than 7 are no longer supported; upgrade to the latest version.

    6.0.0upgrade guide

  • Removes the deprecated error bar opacity attribute; use the alpha channel of the error bar color attribute instead.

    6.0.0release notes

  • Drops the deprecated option from config.

    6.0.0release notes

  • The trace was removed; use scattergl instead.

    6.0.0upgrade guiderelease notes

  • Drops the tenacity dependency.

    6.0.0release notes

  • The layout attribute was removed; replace it with title.font.

    6.0.0upgrade guiderelease notes

  • The layout attribute was removed; replace it with title.offset.

    6.0.0upgrade guiderelease notes

  • The layout attribute was removed; replace it with title.position.

    6.0.0upgrade guiderelease notes

  • The layout attribute was removed; replace it with title.side.

    6.0.0upgrade guiderelease notes

  • Transforms were removed; similar functionality can be achieved by preprocessing data with a dataframe library.

    6.0.0upgrade guiderelease notes

  • Removes the deprecated surface trace attribute.

    6.0.0release notes

Deprecations 2

New APIs and options 14

  • Adds a layout attribute to sort unified hover label items by value.

    6.8.0release notes

  • Adds an optional font parameter to make_subplots.

    6.8.0release notes

  • Adds a layout attribute that enables click events anywhere in the plot area, not just over traces.

    6.7.0release notes

  • Adds a configuration property to set whether the notifier is displayed in the top right area of the viewport.

    6.7.0release notes

  • Adds facet_row support to px.imshow for creating subplots along an additional dimension.

    6.7.0release notes

  • Adds a layout attribute that enables hover events anywhere in the plot area, not just over traces.

    6.7.0release notes

  • Scatter plots support dashed marker lines.

    6.6.0release notes

  • Shapes can reference multiple axes.

    6.6.0release notes

  • Pie legend now supports arrays, allowing configuration per slice.

    6.5.1release notes

  • hovertemplate is now supported for candlestick and ohlc traces.

    6.5.0release notes

  • Adds the hovertemplatefallback attribute in the plotly.js update.

    6.4.0release notes

  • Adds an SI extended formatting rule for tick exponents on axis labels, allowing values to use extended SI prefixes such as femto, pico, and atto.

    6.4.0release notes

  • Adds the texttemplatefallback attribute in the plotly.js update.

    6.4.0release notes

  • Adds a subtitle attribute to all Plotly Express traces.

    6.0.0release notes

Performance 3

  • The validate_gantt function is faster.

    6.5.1release notes

  • Plotly.py takes advantage of Plotly.js typed-array handling for improved performance.

    6.0.0upgrade guiderelease notes

  • Plotly Express uses Narwhals to natively support pandas, Polars, and PyArrow, significantly improving performance with Polars or PyArrow.

    6.0.0upgrade guiderelease notes

Behavior and default changes 6

  • The Colab renderer is enabled by the presence of COLAB_NOTEBOOK_ID instead of testing whether google.colab can be imported.

    6.8.0release notes

  • The __eq__ method for graph_objects classes returns NotImplemented to let the other operand handle the comparison.

    6.8.0release notes

  • The pie property legendrank supports arrays, allowing it to be configured per slice.

    6.8.0release notes

  • USA location lookup for scattergeo and choropleth traces now uses both location names and abbreviations.

    6.7.0release notes

  • Axis autorange increases when bar charts have outside text labels, helping prevent the labels from being clipped.

    6.6.0release notes

  • Clicking legend titles can toggle visibility of all traces in the legend.

    6.6.0release notes

Tooling 1

  • Adds an extra for easily installing Plotly Express dependencies.

    6.0.0release notes

Fixes and other changes 18

  • Geo fitbounds now chooses a compact longitude range when point data straddles the antimeridian.

    6.9.0release notes

  • Plotly Express now raises a clear ValueError when an unsupported marginal plot type is passed, instead of failing later with a cryptic error.

    6.9.0release notes

  • Fixes stale error bars after toggling traces with mixed error bar visibility.

    6.9.0release notes

  • Fixes incorrect annotation placement on datetime axes.

    6.8.0release notes

  • User-specified color_continuous_scale is no longer ignored when the template has autocolorscale=True.

    6.8.0release notes

  • Default headers are passed to Kaleido v1.3.0 to avoid Open Street Map tiles being blocked.

    6.8.0release notes

  • Propagates requested default_height and default_width to the outer wrapper div so responsive percentage dimensions inherit from a sized parent instead of collapsing to the plotly.js 450px fallback.

    6.8.0release notes

  • Empty histograms no longer include a None label in the hover template.

    6.7.0release notes

  • Plotly no longer causes a global warning format side effect.

    6.6.0release notes

  • The generated <style> tag no longer includes the unneeded type="text/javascript" attribute.

    6.6.0release notes

  • Fixed a spurious engine deprecation warning when using write_image.

    6.6.0release notes

  • Pie trace legend now accepts array values.

    6.5.2release notes

  • Pie trace showlegend now accepts array values.

    6.5.1release notesrelease notes

  • Plotly Express now respects trace-specific color sequences defined in templates via template.data.<trace_type>.

    6.5.1release notes

  • Fixes conversion of NumPy datetime values contained in Python lists, which were previously converted to integers.

    6.5.0release notes

  • Fixes show to return FigureWidget instead of displaying Figure.

    6.0.0release notes

  • Fixes a bug that caused LaTeX not to render in charts in JupyterLab 4 and Jupyter Notebook 7 or later.

    6.0.0release notes

  • Makes offsetgroup work with bar traces in stacked and relative barmode.

    6.0.0release notes