plotly / plotly.py

The interactive graphing library for Python :sparkles: This project now includes Plotly Express!
https://plotly.com/python/
MIT License
16.06k stars 2.54k forks source link

Export Static Image Offline without opening webbrowser. #636

Closed PhML closed 7 years ago

PhML commented 7 years ago

See this discussion on Plotly community site.

When using plot with image argument, it first plot in the browser, then open a download file dialogue window and need a manual intervention. As I have several images generated, it's not possible to do it manually.

It would be nice to save image files without this dialogue window.

cldougl commented 7 years ago

Hi @PhML -- We have removed this dialogue window in version 1.12.10: https://github.com/plotly/plotly.py/blob/master/CHANGELOG.md#11210---2016-11-28

The plot will still open in the browser (this is the intended behaviour and necessary for image generation), but there is no longer a dialogue window, no manual intervention necessary.

Midnighter commented 7 years ago

It still is downloaded to the default browser download directory which means I need to move them manually later...

jonmmease commented 6 years ago

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