-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Expose js an api function for saving figures as png/pdf/jpeg/eps/etc with config #89
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
@spencerlyon2 another option if you would like to handle pdf's in the browser could be jsPDF, although I haven't used it, and it may not play nicely with plotly plots - you would need to convert from canvas -> png -> pdf using jsPDF. |
OK no problem, I can handle it outside of the plotly/javascript realm. Is there as suggested method for causing the download of an SVG? |
@spencerlyon2 this is what #83 will attempt to solve. |
closed in favout of #83 |
For vector-quality |
@timelyportfolio oops. Fixed above. Thanks! |
Hi, I have export my image as |
I'm sorry if this is already in another issue somewhere. I looked around a bit, but couldn't find it
It would be awesome if the
Snapshot
functions were exposed at a higher level - perhaps through something that would work like this:which would then trigger the download of the requested file (similar to how the snapshot button triggers a png download right now)
Being able to easily save to to a vector image backend like
pdf
oreps
with specified sizes and dpi would be amazing -- then I could publish my plotly figures in latex based research articles.The text was updated successfully, but these errors were encountered: