Title: Snapshot routines should allow users to specify image width/height · Issue #83 · plotly/plotly.js · GitHub
Open Graph Title: Snapshot routines should allow users to specify image width/height · Issue #83 · plotly/plotly.js
X Title: Snapshot routines should allow users to specify image width/height · Issue #83 · plotly/plotly.js
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 use...
Open Graph 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}); Mo...
X 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: 8...
Opengraph URL: https://github.com/plotly/plotly.js/issues/83
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Snapshot routines should allow users to specify image width/height","articleBody":"Motivated by https://github.com/plotly/plotly.js/issues/42#issuecomment-162520017\n\nAt 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).\n\nSomething like:\n\n``` js\nPlotly.Snapshot.toImage(gd, {format: 'png', width: 1000, height: 800});\n```\n\nMoreover, 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` \n","author":{"url":"https://github.com/etpinard","@type":"Person","name":"etpinard"},"datePublished":"2015-12-07T15:32:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":15},"url":"https://github.com/83/plotly.js/issues/83"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:09e4cece-4cc1-fb86-148d-a620f23692ae |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CDB2:D635E:334BB07:4951B03:6A5685A6 |
| html-safe-nonce | 398dbdcce7619fadf3585055837a47eb4ebe5c90b792c88cd60c7806eed966d3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREIyOkQ2MzVFOjMzNEJCMDc6NDk1MUIwMzo2QTU2ODVBNiIsInZpc2l0b3JfaWQiOiIzNDgzNTI3NjIxOTk2MDg2Njk0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e4bac671078ad3929b64cd600af38f4572257e856d5ac6cb60274691e95dacc6 |
| hovercard-subject-tag | issue:120799061 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.js/83/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0666a0b9fe0c9d46fc20006b1447196aa2083dabcf09ba479f493ccbda5890e0/plotly/plotly.js/issues/83 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0666a0b9fe0c9d46fc20006b1447196aa2083dabcf09ba479f493ccbda5890e0/plotly/plotly.js/issues/83 |
| og:image:alt | 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}); Mo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | etpinard |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19b5ee9431dcfce15ab4b001d626e4e3a6ba1acb7be814813a52bbebd9a86ef5 |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 45646037 |
| octolytics-dimension-repository_nwo | plotly/plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 45646037 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.js |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fc131753d059926755b1ab26f13a2c96a692f5d7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width