Skip to content

'Download plot as png' in Safari: PNG created without the plot #7401

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

Open
gy-mate opened this issue Apr 10, 2025 · 2 comments
Open

'Download plot as png' in Safari: PNG created without the plot #7401

gy-mate opened this issue Apr 10, 2025 · 2 comments
Labels
bug something broken P2 considered for next cycle

Comments

@gy-mate
Copy link
Contributor

gy-mate commented Apr 10, 2025

  1. Create a HTML file for a 3D surface plot using write_html()
  2. Open the HTML file in Safari 18.4 on macOS 15.4 (it works in Google Chrome)
  3. Click on Download plot as png
  4. The plot is missing from the downloaded file:
    Image

The console shows no errors (apart from [Error] Not allowed to load local resource: file:///favicon.ico).

Related: plotly/plotly.py#4384, plotly/plotly.py#2785.
This issue might belong to https://github.com/plotly/plotly.py.

@gvwilson
Copy link
Contributor

thanks @gy-mate - can you please give us the versions of the packages you're using?

@gvwilson gvwilson added bug something broken P2 considered for next cycle labels Apr 14, 2025
@gy-mate
Copy link
Contributor Author

gy-mate commented Apr 14, 2025

@gvwilson I'm using plotly.py 6.0.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken P2 considered for next cycle
Projects
None yet
Development

No branches or pull requests

2 participants