plotly breaking changes
Updated December 4, 2026
On this page
Latest version 7.2.0, released November 24, 2026. Source repository
Its 5.0.0 release requires Python 3.6 or later. Python end of life dates.
- From 6.8.0 to 7.1.0: 982 breaking changes in 2 versions.
- From 5.0.0 to 7.1.0: 1,210 breaking changes in 6 versions.
plotly 7.1.0 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 - 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
plotly 7.0.0 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 - Removed
Orca can no longer be used for static image generation; use Kaleido v1.0.0 or later instead. github.com - Removed
choroplethmapbox
The choroplethmapbox trace is gone; use the equivalent *map trace instead. github.com - Removed
create_annotated_heatmap
The deprecated create_annotated_heatmap function is gone; code calling it will fail and must be rewritten. github.com - Removed
create_candlestick
The deprecated create_candlestick function is gone; code calling it will fail and must be rewritten. github.com - Removed
create_distplot
The deprecated create_distplot function is gone; code calling it will fail and must be rewritten. github.com - Removed
create_facet_grid
The deprecated create_facet_grid function is gone; code calling it will fail and must be rewritten. github.com - Removed
create_gantt
The deprecated create_gantt function is gone; code calling it will fail and must be rewritten. github.com - Removed
create_ohlc
The deprecated create_ohlc function is gone; code calling it will fail and must be rewritten. github.com - Removed
create_scatterplotmatrix
The deprecated create_scatterplotmatrix function is gone; code calling it will fail and must be rewritten. github.com
And 970 more in this version. Sign up to see every change
plotly 6.8.0 breaking changes
- Removed
plotly.conftest
plotly.conftest was removed in plotly 6.8.0 pypi.org - 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 - 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 - 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 - 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
plotly 6.7.0 breaking changes
- Removed
Plotly 6.7.0 no longer supports numpy below 1.22, so users on older numpy must upgrade it. github.com - 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 - 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
plotly 6.6.0 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 - Removed
plotly.tools.warning_on_one_line
plotly.tools.warning_on_one_line was removed in plotly 6.6.0 pypi.org - 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 - 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 - 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 - 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 - 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
plotly 6.0.0 breaking changes
- Removed
Jupyter Notebook 6 and earlier are no longer supported; the minimum supported version is now 7.0.0. github.com - Removed
annotation.ref
Use annotation.xref and annotation.yref instead of the removed annotation.ref attribute. github.com - Removed
autotick
The deprecated autotick attributes of cartesian axes are no longer supported. github.com - Removed
bardir
Use orientation instead of the removed bardir attribute. github.com - Removed
gl2d
The deprecated gl2d subplots are no longer supported. github.com - Removed
gl3d.cameraposition
Use gl3d.camera instead of the removed gl3d.cameraposition attribute. github.com - Removed
heatmapgl
The deprecated heatmapgl trace is no longer in the API, so code using it must switch to another trace type. github.com - Removed
jupyterlab_plotly
jupyterlab_plotly was removed in plotly 6.0.0 pypi.org - Removed
opacity
Set the alpha channel of the error bar color attribute instead of using the removed opacity attribute. github.com - Removed
plot3dPixelRatio
The deprecated plot3dPixelRatio config option is no longer supported. github.com
And 203 more in this version. Sign up to see every change
Older versions
1 older version, each with its first changes. Sign up to see every change
Show 1 older version
plotly 5.0.0 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 - Removed
area
The long-deprecated area trace is no longer available in graph_objects. github.com
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, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.