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

Is it possible to save graphs as images in offline mode without Ipython notebook? #564

Closed
jithurjacob opened this issue Sep 5, 2016 · 2 comments

Comments

@jithurjacob
Copy link

Hi I'm trying to write a script which creates a plot and save it as image. I'm currently using seaborn for this. Can I use plotly instead of seaborn for this?

I tried running in shell it's creating a html file opening it in browser and asking for confirmation. Is there any way we could use plotly to directly save as images?

@cldougl
Copy link
Member

cldougl commented Oct 3, 2016

Hi there,
Unfortunately, we don't have a way to save your graph as only a static file.
If working offline, you can use plot() and set auto_open=False to avoid the html file opening in the browser. See the image export documentation for an example.

Additionally, we prefer to answer use-case questions in our community forum and keep this channel only for issues with the code base.

@jonmmease
Copy link
Contributor

Update: Programmatic static image export support has been released in 3.2.0: See https://medium.com/@plotlygraphs/plotly-py-end-of-summer-updates-5422c98b9058

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

3 participants