Skip to content

Bump plotly from 7.1.0 to 7.2.0 - #128

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/plotly-7.2.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/plotly-7.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 2, 2026

Copy link
Copy Markdown
Contributor

Bumps plotly from 7.1.0 to 7.2.0.

Release notes

Sourced from plotly's releases.

v7.2.0

Added

  • Add support for converting matplotlib reference lines (axhline, axvline, and horizontal/vertical axline) as well as axes-coordinate lines into Plotly layout shapes in mpl_to_plotly, including support for date axes [#5719], with thanks to @​robertoffmoura for the contribution!

Changed

  • Remove Python 3.8 and Python 3.9 support. plotly.py now requires Python 3.10 or later. [#5883]

Fixed

  • Fix figures in JupyterLab not redrawing when their output is updated with update_display_data (for example DisplayHandle.update), which also kept animations in other kernels on their first frame [#5865], with thanks to @​AllenDowney for the contribution!
  • Fix mpl_to_plotly tick marker mirroring, axis positioning, and trace visibility for twinned and overlaid subplots (such as twinx and twiny) [#5310], with thanks to @​robertoffmoura for the contribution!
  • Fix mpl_to_plotly losing matplotlib axis line colors by exporting the color of each axis's displayed spine to the plotly x and y axis linecolor [#5311], with thanks to @​robertoffmoura for the contribution!
  • Fix concurrent first access to lazily initialized graph object properties, which could raise ValueError("Invalid value") [#5691], with thanks to @​hb1915 for the contribution!
  • Fix mpl_to_plotly crashing on touching bars (such as plt.hist) due to floating-point noise producing negative bargap values by clamping bargap to [0, 1] [#5696], with thanks to @​robertoffmoura for the contribution!
  • Fix mpl_to_plotly drawing step plots with diagonal lines instead of vertical/horizontal step segments by mapping matplotlib step drawstyles (steps-pre, steps-post, steps-mid) to plotly line shapes [#5697], with thanks to @​robertoffmoura for the contribution!
  • Fix mpl_to_plotly dropping matplotlib stairs plots by rendering StepPatch artists as step lines or filled step areas from their path vertices and edge style [#5698], with thanks to @​robertoffmoura for the contribution!
  • Fix mpl_to_plotly showing unwanted legends with placeholder or internal label entries (_nolegend_, _childN) by defaulting layout.showlegend=False unless the matplotlib figure explicitly defines a legend [#5699], with thanks to @​robertoffmoura for the contribution!
  • Fix mpl_to_plotly crashing on figures with fully transparent or alpha-carrying colors, such as boxplot outlier markers (facecolor="none"), rgba line colors, and color="none" text and axis labels; all matplotlib colors are now exported through a single helper that maps "none" to transparent rgba and keeps or overrides alpha as matplotlib does [#5700], with thanks to @​robertoffmoura for the contribution!
  • Fix serialization of box/lasso select data for figures with multiple subplots [#5710], with thanks to @​flpi-sun for the contribution!
  • Export tick label colors to the plotly tickfont in mpl_to_plotly [#5716], with thanks to @​robertoffmoura for the contribution!
  • Fix convert_dash mapping dotted lines (linestyle=':') to invalid 'circle' in Plotly, correctly converting them to 'dot' and preserving custom dash patterns as pixel lists [#5719], with thanks to @​robertoffmoura for the contribution!
  • Fix Plotly Express mutating lists passed to the x or y arguments in wide mode [#5727], with thanks to @​cpruijsen for the contribution!
  • Fix px.sunburst, px.treemap and px.icicle listing sectors in a different order on every run when path is used with a Polars DataFrame; sectors now follow their order of first appearance for all dataframe backends [#5766], with thanks to @​Irahan2 for the contribution!
  • Fix trendline_scope="overall" drawing the overall trendline on the marginal_x/marginal_y subplots as well as the main plot; it is now drawn only on the main subplots [#5780], with thanks to @​jayzhou2309 for the contribution!
  • Fix add_hline, add_vline, add_hrect and add_vrect dropping the shape on an empty subplot when row and col select a single subplot [#5871], with thanks to @​LukeTheoJohnson for the contribution!
  • Fix mpl_to_plotly conversion of matplotlib contour lines and line collections: close contour rings ending with Z codes, support dash styles, convert date x-axes, separate disjoint subpaths with None separators, hide line collection traces from the legend by default, and group consecutive same-style lines into single traces [#5770], with thanks to @​robertoffmoura for the contribution!
  • Fix plotly.io.write_images ignoring layout.width/layout.height (and the template's) and exporting every figure at the default 700x500 size; it now uses the same width/height priority as write_image and to_image [#5784], with thanks to @​breken-ai for the contribution!
  • Fix color utilities mutating the list of colors passed to them [#5836], with thanks to @​Enesuygurs for the contribution!
  • Fix Plotly Express (including px.imshow) ignoring facet_row_spacing=0 and facet_col_spacing=0 and using the default spacing between facets instead [#5881], with thanks to @​rishi02102017 for the contribution!

v7.2.0rc0

Added

  • Add support for converting matplotlib reference lines (axhline, axvline, and horizontal/vertical axline) as well as axes-coordinate lines into Plotly layout shapes in mpl_to_plotly, including support for date axes [#5719], with thanks to @​robertoffmoura for the contribution!

Changed

  • Remove Python 3.8 and Python 3.9 support. plotly.py now requires Python 3.10 or later. [#5883]

Fixed

  • Fix figures in JupyterLab not redrawing when their output is updated with update_display_data (for example DisplayHandle.update), which also kept animations in other kernels on their first frame [#5865], with thanks to @​AllenDowney for the contribution!
  • Fix mpl_to_plotly tick marker mirroring, axis positioning, and trace visibility for twinned and overlaid subplots (such as twinx and twiny) [#5310], with thanks to @​robertoffmoura for the contribution!
  • Fix mpl_to_plotly losing matplotlib axis line colors by exporting the color of each axis's displayed spine to the plotly x and y axis linecolor [#5311], with thanks to @​robertoffmoura for the contribution!
  • Fix concurrent first access to lazily initialized graph object properties, which could raise ValueError("Invalid value") [#5691], with thanks to @​hb1915 for the contribution!
  • Fix mpl_to_plotly crashing on touching bars (such as plt.hist) due to floating-point noise producing negative bargap values by clamping bargap to [0, 1] [#5696], with thanks to @​robertoffmoura for the contribution!
  • Fix mpl_to_plotly drawing step plots with diagonal lines instead of vertical/horizontal step segments by mapping matplotlib step drawstyles (steps-pre, steps-post, steps-mid) to plotly line shapes [#5697], with thanks to @​robertoffmoura for the contribution!
  • Fix mpl_to_plotly dropping matplotlib stairs plots by rendering StepPatch artists as step lines or filled step areas from their path vertices and edge style [#5698], with thanks to @​robertoffmoura for the contribution!
  • Fix mpl_to_plotly showing unwanted legends with placeholder or internal label entries (_nolegend_, _childN) by defaulting layout.showlegend=False unless the matplotlib figure explicitly defines a legend [#5699], with thanks to @​robertoffmoura for the contribution!
  • Fix mpl_to_plotly crashing on figures with fully transparent or alpha-carrying colors, such as boxplot outlier markers (facecolor="none"), rgba line colors, and color="none" text and axis labels; all matplotlib colors are now exported through a single helper that maps "none" to transparent rgba and keeps or overrides alpha as matplotlib does [#5700], with thanks to @​robertoffmoura for the contribution!
  • Fix serialization of box/lasso select data for figures with multiple subplots [#5710], with thanks to @​flpi-sun for the contribution!
  • Export tick label colors to the plotly tickfont in mpl_to_plotly [#5716], with thanks to @​robertoffmoura for the contribution!

... (truncated)

Changelog

Sourced from plotly's changelog.

[7.2.0] - 2026-11-24

Added

  • Add support for converting matplotlib reference lines (axhline, axvline, and horizontal/vertical axline) as well as axes-coordinate lines into Plotly layout shapes in mpl_to_plotly, including support for date axes [#5719], with thanks to @​robertoffmoura for the contribution!

Changed

  • Remove Python 3.8 and Python 3.9 support. plotly.py now requires Python 3.10 or later. [#5883]

Fixed

  • Fix figures in JupyterLab not redrawing when their output is updated with update_display_data (for example DisplayHandle.update), which also kept animations in other kernels on their first frame [#5865], with thanks to @​AllenDowney for the contribution!
  • Fix mpl_to_plotly tick marker mirroring, axis positioning, and trace visibility for twinned and overlaid subplots (such as twinx and twiny) [#5310], with thanks to @​robertoffmoura for the contribution!
  • Fix mpl_to_plotly losing matplotlib axis line colors by exporting the color of each axis's displayed spine to the plotly x and y axis linecolor [#5311], with thanks to @​robertoffmoura for the contribution!
  • Fix concurrent first access to lazily initialized graph object properties, which could raise ValueError("Invalid value") [#5691], with thanks to @​hb1915 for the contribution!
  • Fix mpl_to_plotly crashing on touching bars (such as plt.hist) due to floating-point noise producing negative bargap values by clamping bargap to [0, 1] [#5696], with thanks to @​robertoffmoura for the contribution!
  • Fix mpl_to_plotly drawing step plots with diagonal lines instead of vertical/horizontal step segments by mapping matplotlib step drawstyles (steps-pre, steps-post, steps-mid) to plotly line shapes [#5697], with thanks to @​robertoffmoura for the contribution!
  • Fix mpl_to_plotly dropping matplotlib stairs plots by rendering StepPatch artists as step lines or filled step areas from their path vertices and edge style [#5698], with thanks to @​robertoffmoura for the contribution!
  • Fix mpl_to_plotly showing unwanted legends with placeholder or internal label entries (_nolegend_, _childN) by defaulting layout.showlegend=False unless the matplotlib figure explicitly defines a legend [#5699], with thanks to @​robertoffmoura for the contribution!
  • Fix mpl_to_plotly crashing on figures with fully transparent or alpha-carrying colors, such as boxplot outlier markers (facecolor="none"), rgba line colors, and color="none" text and axis labels; all matplotlib colors are now exported through a single helper that maps "none" to transparent rgba and keeps or overrides alpha as matplotlib does [#5700], with thanks to @​robertoffmoura for the contribution!
  • Fix serialization of box/lasso select data for figures with multiple subplots [#5710], with thanks to @​flpi-sun for the contribution!
  • Export tick label colors to the plotly tickfont in mpl_to_plotly [#5716], with thanks to @​robertoffmoura for the contribution!
  • Fix convert_dash mapping dotted lines (linestyle=':') to invalid 'circle' in Plotly, correctly converting them to 'dot' and preserving custom dash patterns as pixel lists [#5719], with thanks to @​robertoffmoura for the contribution!
  • Fix Plotly Express mutating lists passed to the x or y arguments in wide mode [#5727], with thanks to @​cpruijsen for the contribution!
  • Fix px.sunburst, px.treemap and px.icicle listing sectors in a different order on every run when path is used with a Polars DataFrame; sectors now follow their order of first appearance for all dataframe backends [#5766], with thanks to @​Irahan2 for the contribution!
  • Fix trendline_scope="overall" drawing the overall trendline on the marginal_x/marginal_y subplots as well as the main plot; it is now drawn only on the main subplots [#5780], with thanks to @​jayzhou2309 for the contribution!
  • Fix add_hline, add_vline, add_hrect and add_vrect dropping the shape on an empty subplot when row and col select a single subplot [#5871], with thanks to @​LukeTheoJohnson for the contribution!
  • Fix mpl_to_plotly conversion of matplotlib contour lines and line collections: close contour rings ending with Z codes, support dash styles, convert date x-axes, separate disjoint subpaths with None separators, hide line collection traces from the legend by default, and group consecutive same-style lines into single traces [#5770], with thanks to @​robertoffmoura for the contribution!
  • Fix plotly.io.write_images ignoring layout.width/layout.height (and the template's) and exporting every figure at the default 700x500 size; it now uses the same width/height priority as write_image and to_image [#5784], with thanks to @​breken-ai for the contribution!
  • Fix color utilities mutating the list of colors passed to them [#5836], with thanks to @​Enesuygurs for the contribution!
  • Fix Plotly Express (including px.imshow) ignoring facet_row_spacing=0 and facet_col_spacing=0 and using the default spacing between facets instead [#5881], with thanks to @​rishi02102017 for the contribution!
Commits
  • 38ff53b Merge pull request #5906 from plotly/release-7.2.0
  • 663137f version v7.2.0
  • 52ae623 Merge pull request #5904 from plotly/release-7.2.0rc0
  • 050e0eb Fix bug where the version check job did not account for release candidates
  • 65ae629 version bump to v7.2.0rc0
  • da66eda Merge pull request #5894 from plotly/chore/release-automation
  • 34c7f36 Merge pull request #5871 from LukeTheoJohnson/fix-add-hline-empty-subplots
  • e17212c Merge branch 'main' into fix-add-hline-empty-subplots
  • 48b626d Merge pull request #5888 from plotly/cam/update-changelog-formatting
  • 4b874a3 code review feedback
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [plotly](https://github.com/plotly/plotly.py) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/plotly/plotly.py/releases)
- [Changelog](https://github.com/plotly/plotly.py/blob/main/CHANGELOG.md)
- [Commits](plotly/plotly.py@v7.1.0...v7.2.0)

---
updated-dependencies:
- dependency-name: plotly
  dependency-version: 7.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Dec 2, 2026
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

Economy impact (10 seeds × 6 scenarios, against origin/main)

No significant change in any metric.

Every metric that moved

Nothing moved: every metric is identical on every seed.

Runs are paired by seed. A change is significant when it is more than 2 standard errors from zero and at least 3% of the base. Generated by questless diff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants