-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
feature request: when downloading plot as png using the modebar button, use the current size of the plot as the size of the png #1576
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
Comments
Unfortunately, that's more like a backward-incompatible change than a feature request. If we do choose to do this, we'll have to wait for In the meantime, here's a workaround: http://codepen.io/etpinard/pen/NpvYOo |
Thanks for the feedback and adding my own options to that code snippet worked well :) |
Is there any progress on this feature?- It kinda seems important to be able to save your plots as an png :) |
Bump |
@etpinard would this really be a "breaking" change? In what scenarios would this not be a net improvement over the current arbitrary dimensions of the downloaded PNG when no width/height are set? |
#3746 add a JSON-serializable way to do effectively what is presented in #1576 (comment) Next, as @antoinerg points out in #3746 (comment), maybe we could:
in v2, or better yet make |
Currently it does not use the size of the plot as it has been rendered into the browser. The data ranges and such are all the same, but since the size is different the legend may overlap parts that it did not when viewed in the browser and the aspect ratio may be different.
The text was updated successfully, but these errors were encountered: