Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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