Closed
Description
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