Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency plotly to v6 #10745

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 29, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
plotly (source, changelog) >=5.16.1,<6 -> >=5.16.1,<7 age adoption passing confidence

Release Notes

plotly/plotly.py (plotly)

v6.0.0

Compare Source

Added
  • Add plotly[express] extra for easily installing Plotly Express dependencies [#​4644]
  • Add subtitle attribute to all Plotly Express traces [#​4830].
Removed
  • Drop deprecated pointcloud and heatmapgl traces from the API [#​4815]
  • Drop tenacity dependency [#​4831]
  • Drop support for Jupyter Notebook version 6 and earlier [#​4822]. The minimum supported version is now 7.0.0.
Updated
  • Update Plotly.js from version 2.34.2 to version 3.0.0 See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated plotly.graph_objects module. Notable changes include:
    • Make offsetgroup work with barmode "stacked" and "relative" for bar traces [#​7009]
    • Drop support for deprecated attributes titlefont, titleposition, titleside, and titleoffset [#​7212].
    • Drop deprecated pointcloud and heatmapgl traces and gl2d subplots [#​7213]
    • Drop support for deprecated bardir attribute (use orientation instead) [#​7214]
    • Drop support for deprecated annotation.ref attribute (use annotation.xref and annotation.yref instead) [#​7215]
    • Drop support for deprecated error bar opacity attribute (use alpha channel of error bar color attribute instead) [#​7214]
    • Drop support for deprecated attribute gl3d.cameraposition (use gl3d.camera instead) [#​7217]
    • Drop deprecated plot3dPixelRatio from config [#​7231]
    • Drop deprecated zauto, zmin and zmax from the surface trace [#​7234]
    • Drop deprecated autotick attributes from cartesian axes [#​7236]
    • Drop transforms from the API [#​7240, #​7254]
  • Deprecate Mapbox-based traces.[#​4900]. See the MapLibre Migration page for details on migrating from Mapbox to Maplibre.
  • Update plotly.py to use base64 encoding of typed arrays e.g. numpy in plotly JSON to keep precision intact and improve performance [#​4470].
  • Make plotly-express dataframe agnostic via Narwhals [#​4790].
  • Update go.FigureWidget to use anywidget [#​4823]
  • Use modern native ES6 import to load plotly.js bundle instead of requirejs which is no longer under active development [#​4736]
Fixed
  • Fix a bug in JupyterLab >= 4 and Jupyter Notebook >= 7 that caused LaTeX to not render in plotly charts [#​4763].
  • Fix go.FigureWidget.show to return FigureWidget instead of displaying Figure [#​4869]

Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,every weekend,before 5am every weekday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Issues or PRs related to dependencies label Jan 29, 2025
Copy link
Contributor Author

renovate bot commented Jan 29, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@cpcloud cpcloud added the docs-preview Add this label to trigger a docs preview label Jan 29, 2025
@ibis-docs-bot ibis-docs-bot bot removed the docs-preview Add this label to trigger a docs preview label Jan 29, 2025
@cpcloud cpcloud added this to the 10.0 milestone Jan 29, 2025
@ibis-docs-bot
Copy link

ibis-docs-bot bot commented Jan 29, 2025

@cpcloud
Copy link
Member

cpcloud commented Jan 29, 2025

This seems to break all the plotly examples on the website.

@lostmygithubaccount Any chance I can snipe you into poking at this?

@lostmygithubaccount
Copy link
Member

@cpcloud I'll take a look in a bit!

@MarcoGorelli
Copy link
Contributor

Hey - I tried the "Using Plotly Ibis" example locally and it runs fine - in fact, to_pandas isn't needed anymore

image

@cpcloud cpcloud removed this from the 10.0 milestone Jan 29, 2025
@cpcloud
Copy link
Member

cpcloud commented Jan 29, 2025

@MarcoGorelli Nice, thanks for giving that a go!

When I click on the docs preview link here: https://pr-10745-a47527b6135c442247d1c51b6cf0f8d2a230bfd3--ibis-quarto.netlify.app/

I see a big blank space where a plotly plot should be. What do you see there?

@MarcoGorelli
Copy link
Contributor

ah on the docs preview I also see a blank space, I just meant that running it locally (with the latest versions) it renders fine

@cpcloud
Copy link
Member

cpcloud commented Jan 29, 2025

I think it's a quarto issue, since quarto preview from here shows the same blank plot.

@cpcloud
Copy link
Member

cpcloud commented Jan 29, 2025

It could also be a plotly isue itself, so let's hold off on this upgrade for now.

@cpcloud cpcloud marked this pull request as draft January 29, 2025 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Issues or PRs related to dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants