Skip to content

Can't export a 50m choropleth as SVG in Chrome but a 110m map works fine #3919

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

Closed
Thlayli opened this issue May 28, 2019 · 2 comments
Closed

Comments

@Thlayli
Copy link

Thlayli commented May 28, 2019

I've tested this running Chrome 74.0.3729.169 (64-bit) and Firefox 64.0.2 (64-bit) on Windows 10.

It looks like something silently fails when using Plotly.downloadImage to get an SVG of a 50m resolution choropleth in Chrome. It works in Firefox.

To test this I'm making two plots of the same data. One at 110 resolution and one at 50. I then try to save both plots as PNG then SVG. Only the PNG file saves for the 50m map in Chrome, but both save for the 110m. All four images save in Firefox. No errors are generated (except the ones related to my failed understanding of the promise chain, which don't seem to affect anything.)

Could it be due to the file size?

https://codepen.io/Thlayli/pen/LoBgaZ

@etpinard
Copy link
Contributor

Probably a duplicate of #3771

Thanks for the report!

@etpinard
Copy link
Contributor

Merged into #3771

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants