Skip to content

Snapshot routines should allow users to specify image width/height #83

Closed
@etpinard

Description

@etpinard

Motivated by #42 (comment)

At the moment, the Snapshot.toImage has hard-coded width and height parameters.

Something like:

Plotly.Snapshot.toImage(gd, {format: 'png', width: 1000, height: 800});

Moreover, maybe the on-success handler used by the modebar toImage button could be used as the default on-success handler to Snapshot.toImage

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions