Skip to content

Update plotly requirement from ~=7.1.0 to ~=7.2.0 - #566

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

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/plotly-approx-eq-7.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Updates the requirements on plotly to permit the latest version.

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!
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!

[7.1.0] - 2026-09-15

Added

  • Support marginal_x/marginal_y="heatmap" in density_heatmap, drawing a single-row/column heatmap strip in the margin colored by the same z/histfunc aggregate as the main plot and sharing its color scale [#5707], with thanks to @​lucasjamar for the contribution!
  • Add support for custom tick values in mpl_to_plotly when the matplotlib tick positions don't follow an arithmetic progression, including custom tick labels and tick values on date axes [#5262], with thanks to @​robertoffmoura for the contribution!

Changed

  • Update plotly.js from version 4.0.0 to version 4.1.1 [#5722, #5730]. See the plotly.js release notes for v4.1.0 and v4.1.1 for details. Notable changes include:
    • Add an opt-in modebar button for downloading Plotly figures as JSON [#7990, #8022]
    • Add legend.groupdoubleclick to set the group behavior for a legend double-click [#7997]
    • Increase default double-click delay threshold to 500ms (from 300) [#8014]
    • Fix issue with per-point marker color for hover labels in scattergl, quiver traces [#8027]
    • Update maplibre-gl to v6 to address CVE-2026-85061 [#8035]
      • Note: Safari 15, Chrome 56, Firefox 51 and later are now required for map traces
  • Update hex_to_rgb function to raise error for invalid-length hex codes, and emit warning for hex codes containing alpha [#5729], with thanks to @​dylanpulver for the contribution!

Fixed

  • Fix Plotly Express treating unsigned integer columns (uint8, uint16, uint32, uint64) in pandas DataFrames as categorical, which caused px.bar and other functions to pick the wrong orientation and render unexpected plots [#5726], with thanks to @​Belagum for the contribution!
  • Fix mpl_to_plotly not setting paper_bgcolor and plot_bgcolor from the matplotlib figure and axes backgrounds, so converted figures match the source figure's background colors [#5285], with thanks to @​robertoffmoura for the contribution!
  • Fix rendering issue causing a too-large div when calling Figure.show() in Google Colab [#5718]

... (truncated)

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 dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 27, 2026
@github-actions
github-actions Bot enabled auto-merge November 27, 2026 21:53
Updates the requirements on [plotly](https://github.com/plotly/plotly.py) to permit the latest version.
- [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
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/plotly-approx-eq-7.2.0 branch from 56456f0 to 3099a07 Compare November 27, 2026 21:57

This branch has not been deployed

No deployments
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 Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants