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

Add fallback command-line mode for orca image export #1617

Closed
jonmmease opened this issue Jun 15, 2019 · 1 comment
Closed

Add fallback command-line mode for orca image export #1617

jonmmease opened this issue Jun 15, 2019 · 1 comment

Comments

@jonmmease
Copy link
Contributor

The plotly.io.write_image/to_image functions start an orca server and send image export requests to the orca server over a local port. This provides the best performance for repeated image export requests, but at times folks have had trouble with this local server connection. See

It would be useful to provide to option to call orca in command-line mode. This would involve writing the figure to a temporary file, calling orca graph on the file to create a temporary image file, then reading the image file bytes into memory, and deleting both temporary files. This would be quite a bit slower (1-2 seconds per image), but it would likely be more reliable for some environments since it does not require communication over a local port.

The API should be designed along with #1570.

@gvwilson
Copy link
Contributor

Hi - we are currently trying to tidy up Plotly's public repositories to help us focus our efforts on things that will help users most. Since this issue has been sitting for several years, I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our backlog. Thanks for your help - @gvwilson

This issue was closed.
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