---
title: "plotly 7.1.0 Breaking Changes on PyPI | Since.dev"
description: "What each plotly release removed, renamed or changed: 1,360 breaking changes in 7 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/plotly
last_updated: 2026-12-04
---

# plotly breaking changes

plotly 7.1.0 (September 15, 2026) is its newest release with breaking changes, 2 of them. The first: Behavior changed hex_to_rgb. Every breaking API change we have recorded in plotly on PyPI: 1,360 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `7.2.0`, released November 24, 2026. [Source repository](https://github.com/plotly/plotly.py)

Its 5.0.0 release requires Python 3.6 or later. [Python end of life dates](https://since.dev/calendar/python.md).

- From [6.8.0](#v-6-8-0) to [7.1.0](#v-7-1-0): 982 breaking changes in 2 versions.
- From [5.0.0](#v-5-0-0) to [7.1.0](#v-7-1-0): 1,210 breaking changes in 6 versions.

## plotly 7.1.0 breaking changes

plotly 7.1.0, released September 15, 2026: 2 breaking changes.

- **Behavior changed** `hex_to_rgb`  

hex_to_rgb raises an error for hex codes of invalid length and emits a warning for hex codes containing alpha. Check calls that pass malformed or alpha-containing hex strings. [github.com](https://github.com/plotly/plotly.py/releases/tag/v7.1.0)
- **Signature changed** `plotly.graph_objs.layout.Legend.__init__`  

Was def \_\_init\_\_(self, arg=None, bgcolor=None, bordercolor=None, borderwidth=None, entrywidth=None, entrywidthmode=None, font=None, groupclick=None, grouptitlefont=None, indentation=None, itemclick=None, itemdoubleclick=None... [pypi.org](https://pypi.org/project/plotly/7.1.0/)

## plotly 7.0.0 breaking changes

plotly 7.0.0, released August 25, 2026: 980 breaking changes.

- **Removed**  

Static image generation no longer works with Kaleido versions below v1.0.0; upgrade Kaleido to v1.0.0 or later. [github.com](https://github.com/plotly/plotly.py/releases/tag/v7.0.0)
- **Removed**  

Orca can no longer be used for static image generation; use Kaleido v1.0.0 or later instead. [github.com](https://github.com/plotly/plotly.py/releases/tag/v7.0.0)
- **Removed** `choroplethmapbox`  

The choroplethmapbox trace is gone; use the equivalent \*map trace instead. [github.com](https://github.com/plotly/plotly.py/releases/tag/v7.0.0)
- **Removed** `create_annotated_heatmap`  

The deprecated create_annotated_heatmap function is gone; code calling it will fail and must be rewritten. [github.com](https://github.com/plotly/plotly.py/releases/tag/v7.0.0)
- **Removed** `create_candlestick`  

The deprecated create_candlestick function is gone; code calling it will fail and must be rewritten. [github.com](https://github.com/plotly/plotly.py/releases/tag/v7.0.0)
- **Removed** `create_distplot`  

The deprecated create_distplot function is gone; code calling it will fail and must be rewritten. [github.com](https://github.com/plotly/plotly.py/releases/tag/v7.0.0)
- **Removed** `create_facet_grid`  

The deprecated create_facet_grid function is gone; code calling it will fail and must be rewritten. [github.com](https://github.com/plotly/plotly.py/releases/tag/v7.0.0)
- **Removed** `create_gantt`  

The deprecated create_gantt function is gone; code calling it will fail and must be rewritten. [github.com](https://github.com/plotly/plotly.py/releases/tag/v7.0.0)
- **Removed** `create_ohlc`  

The deprecated create_ohlc function is gone; code calling it will fail and must be rewritten. [github.com](https://github.com/plotly/plotly.py/releases/tag/v7.0.0)
- **Removed** `create_scatterplotmatrix`  

The deprecated create_scatterplotmatrix function is gone; code calling it will fail and must be rewritten. [github.com](https://github.com/plotly/plotly.py/releases/tag/v7.0.0)

And 970 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## plotly 6.8.0 breaking changes

plotly 6.8.0, released June 3, 2026: 5 breaking changes.

- **Removed** `plotly.conftest`  

plotly.conftest was removed in plotly 6.8.0 [pypi.org](https://pypi.org/project/plotly/6.8.0/)
- **Behavior changed**  

The \_\_eq\_\_ method of graph_objects classes now returns NotImplemented, so the other operand gets a chance to handle the comparison. Code that relied on the previous equality result for unrelated objects may behave differently. [github.com](https://github.com/plotly/plotly.py/releases/tag/v6.8.0)
- **Signature changed** `plotly.graph_objects.Figure.add_pie`  

Was def add_pie(self, automargin=None, customdata=None, customdatasrc=None, direction=None, dlabel=None, domain=None, hole=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, hovertemplate=None, hovertemplatefallback=None... [pypi.org](https://pypi.org/project/plotly/6.8.0/)
- **Signature changed** `plotly.graph_objects.Layout.__init__`  

Was def \_\_init\_\_(self, arg=None, activeselection=None, activeshape=None, annotations=None, annotationdefaults=None, autosize=None, autotypenumbers=None, barcornerradius=None, bargap=None, bargroupgap=None, barmode=None, barnorm=None... [pypi.org](https://pypi.org/project/plotly/6.8.0/)
- **Signature changed** `plotly.graph_objects.Pie.__init__`  

Was def \_\_init\_\_(self, arg=None, automargin=None, customdata=None, customdatasrc=None, direction=None, dlabel=None, domain=None, hole=None, hoverinfo=None, hoverinfosrc=None, hoverlabel=None, hovertemplate=None, hovertemplatefallback=None... [pypi.org](https://pypi.org/project/plotly/6.8.0/)

## plotly 6.7.0 breaking changes

plotly 6.7.0, released April 9, 2026: 3 breaking changes.

- **Removed**  

Plotly 6.7.0 no longer supports numpy below 1.22, so users on older numpy must upgrade it. [github.com](https://github.com/plotly/plotly.py/releases/tag/v6.7.0)
- **Signature changed** `plotly.express.imshow`  

Was def imshow(img, zmin=None, zmax=None, origin=None, labels={}, x=None, y=None, animation_frame=None, facet_col=None, facet_col_wrap=None, facet_col_spacing=None, facet_row_spacing=None, color_continuous_scale=None... [pypi.org](https://pypi.org/project/plotly/6.7.0/)
- **Signature changed** `plotly.graph_objects.Layout.__init__`  

Was def \_\_init\_\_(self, arg=None, activeselection=None, activeshape=None, annotations=None, annotationdefaults=None, autosize=None, autotypenumbers=None, barcornerradius=None, bargap=None, bargroupgap=None, barmode=None, barnorm=None... [pypi.org](https://pypi.org/project/plotly/6.7.0/)

## plotly 6.6.0 breaking changes

plotly 6.6.0, released March 2, 2026: 7 breaking changes.

- **Removed** `plotly.matplotlylib.renderer.warning_on_one_line`  

plotly.matplotlylib.renderer.warning_on_one_line was removed in plotly 6.6.0 [pypi.org](https://pypi.org/project/plotly/6.6.0/)
- **Removed** `plotly.tools.warning_on_one_line`  

plotly.tools.warning_on_one_line was removed in plotly 6.6.0 [pypi.org](https://pypi.org/project/plotly/6.6.0/)
- **Signature changed** `plotly.graph_objects.Figure.add_shape`  

Was def add_shape(self, arg=None, editable=None, fillcolor=None, fillrule=None, label=None, layer=None, legend=None, legendgroup=None, legendgrouptitle=None, legendrank=None, legendwidth=None, line=None, name=None, opacity=None, path=None... [pypi.org](https://pypi.org/project/plotly/6.6.0/)
- **Signature changed** `plotly.graph_objs.layout.Legend.__init__`  

Was def \_\_init\_\_(self, arg=None, bgcolor=None, bordercolor=None, borderwidth=None, entrywidth=None, entrywidthmode=None, font=None, groupclick=None, grouptitlefont=None, indentation=None, itemclick=None, itemdoubleclick=None... [pypi.org](https://pypi.org/project/plotly/6.6.0/)
- **Signature changed** `plotly.graph_objs.layout.Shape.__init__`  

Was def \_\_init\_\_(self, arg=None, editable=None, fillcolor=None, fillrule=None, label=None, layer=None, legend=None, legendgroup=None, legendgrouptitle=None, legendrank=None, legendwidth=None, line=None, name=None, opacity=None, path=None... [pypi.org](https://pypi.org/project/plotly/6.6.0/)
- **Signature changed** `plotly.graph_objs.scatter.marker.Line.__init__`  

Was def \_\_init\_\_(self, arg=None, autocolorscale=None, cauto=None, cmax=None, cmid=None, cmin=None, color=None, coloraxis=None, colorscale=None, colorsrc=None, reversescale=None, width=None, widthsrc=None, \*\*kwargs); now def \_\_init\_\_(self... [pypi.org](https://pypi.org/project/plotly/6.6.0/)
- **Signature changed** `plotly.io.write_image`  

Was def write_image(fig: Union\[dict, plotly.graph_objects.Figure\], file: Union\[str, Path\], format: Union\[str, None\] = None, scale: Union\[int, float, None\] = None, width: Union\[int, None\] = None, height: Union\[int, None\] = None, validate... [pypi.org](https://pypi.org/project/plotly/6.6.0/)

## plotly 6.0.0 breaking changes

plotly 6.0.0, released January 28, 2025: 213 breaking changes.

- **Removed**  

Jupyter Notebook 6 and earlier are no longer supported; the minimum supported version is now 7.0.0. [github.com](https://github.com/plotly/plotly.py/releases/tag/v6.0.0)
- **Removed** `annotation.ref`  

Use annotation.xref and annotation.yref instead of the removed annotation.ref attribute. [github.com](https://github.com/plotly/plotly.py/releases/tag/v6.0.0)
- **Removed** `autotick`  

The deprecated autotick attributes of cartesian axes are no longer supported. [github.com](https://github.com/plotly/plotly.py/releases/tag/v6.0.0)
- **Removed** `bardir`  

Use orientation instead of the removed bardir attribute. [github.com](https://github.com/plotly/plotly.py/releases/tag/v6.0.0)
- **Removed** `gl2d`  

The deprecated gl2d subplots are no longer supported. [github.com](https://github.com/plotly/plotly.py/releases/tag/v6.0.0)
- **Removed** `gl3d.cameraposition`  

Use gl3d.camera instead of the removed gl3d.cameraposition attribute. [github.com](https://github.com/plotly/plotly.py/releases/tag/v6.0.0)
- **Removed** `heatmapgl`  

The deprecated heatmapgl trace is no longer in the API, so code using it must switch to another trace type. [github.com](https://github.com/plotly/plotly.py/releases/tag/v6.0.0)
- **Removed** `jupyterlab_plotly`  

jupyterlab_plotly was removed in plotly 6.0.0 [pypi.org](https://pypi.org/project/plotly/6.0.0/)
- **Removed** `opacity`  

Set the alpha channel of the error bar color attribute instead of using the removed opacity attribute. [github.com](https://github.com/plotly/plotly.py/releases/tag/v6.0.0)
- **Removed** `plot3dPixelRatio`  

The deprecated plot3dPixelRatio config option is no longer supported. [github.com](https://github.com/plotly/plotly.py/releases/tag/v6.0.0)

And 203 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

1 older version, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### plotly 5.0.0 breaking changes

plotly 5.0.0, released June 21, 2021: 150 breaking changes.

- **Removed**  

Python versions older than 3.6 are no longer supported, so upgrade Python to 3.6 or later before upgrading plotly. [github.com](https://github.com/plotly/plotly.py/releases/tag/v5.0.0)
- **Removed** `area`  

The long-deprecated area trace is no longer available in graph_objects. [github.com](https://github.com/plotly/plotly.py/releases/tag/v5.0.0)

And 148 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
