Skip to content

Directly save image (without opening in browser) #880

Closed
@robinrosenstock

Description

@robinrosenstock

Referencing: #596 and #564
For saving an image you have first open it in the browser,
for example in jupyter: plotly.offline.plot(fig, filename=filename, image='svg')
opens a new tab and download immediately, when adding auto_open=False:
plotly.offline.plot(fig, filename=filename, image='svg', auto_open=False)
then it will not open a new tab, but it will not download the image as well.
The jupyter command was only an example, of course this functionality would be more useful in text only scripts (python, javascript, R).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions