Motivated by https://github.com/plotly/plotly.js/issues/42#issuecomment-162520017 At the moment, the `Snapshot.toImage` has [hard-coded `width` and `height` parameters](https://github.com/plotly/plotly.js/blob/master/src/snapshot/toimage.js#L50-L51). Something like: ``` js Plotly.Snapshot.toImage(gd, {format: 'png', width: 1000, height: 800}); ``` Moreover, maybe the on-success handler used by the [modebar `toImage` button](https://github.com/plotly/plotly.js/blob/master/src/components/modebar/buttons.js#L73-L83) could be used as the default on-success handler to `Snapshot.toImage`