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

any way for offline static image export? #1137

Closed
guoyuf opened this issue Aug 29, 2018 · 2 comments
Closed

any way for offline static image export? #1137

guoyuf opened this issue Aug 29, 2018 · 2 comments

Comments

@guoyuf
Copy link

guoyuf commented Aug 29, 2018

HI All,

We'd like to export the ploty image as a background task that run regularly, and I tried the way from https://plot.ly/python/static-image-export/
but however, py.image.save_as method required network connectivity and send the data to the plot.ly and return the image back. offline.plot actually generate the html file, then open it in browser and download the image file.
We want to export the image file in the background task and this two ways don't meet the requirement. Is the any way for the api office image export ?

thanks,
Eric

@jonmmease
Copy link
Contributor

Hi @guoyuf ,

We've actually been working on this problem a lot lately and we're planning to release a solution in version 3.2. If you're interested in the background, check out #1105 and #1120.

If you'd be willing to help us test out the current alpha version of the static image export approach, we'd really appreciate it. Here's a repo with instructions for installing plotly.py 3.2.0 alpha 2 and the orca command line utility (orca is the project that performs that static image export): https://github.com/jonmmease/plotly_orca_notebooks. The repo also has two example notebooks that demonstrate the new API.

Thanks for your interest 🙂

@jonmmease
Copy link
Contributor

jonmmease commented Aug 31, 2018

Merged in #1120 and coming in version 3.2.0

Released in 3.2.0 🎉 See https://plot.ly/python/static-image-export/

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