| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:ca159e9a-b697-6e90-71d2-640c6b81958e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E6A2:3A73AA:1F5B448:27BC7C7:6B01A5CA |
| html-safe-nonce | 2d8ede644fbfe97d8954c7f42748f142efd9880b64b79d7794cb25ebac7b17b9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNkEyOjNBNzNBQToxRjVCNDQ4OjI3QkM3Qzc6NkIwMUE1Q0EiLCJ2aXNpdG9yX2lkIjoiNjE3NzgxODA5MDYzMDM5MTI0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ada0ae00c3370679c5ff94a470ec771d78426c314340fa3ac97c3f2cd3fd5e3f |
| hovercard-subject-tag | pull_request:268494229 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/plotly/plotly.js/3746/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/ecceb6b1df4b826a48a383845a04369942d72ca838ac274432f4744ca02b5623/plotly/plotly.js/pull/3746 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ecceb6b1df4b826a48a383845a04369942d72ca838ac274432f4744ca02b5623/plotly/plotly.js/pull/3746 |
| og:image:alt | resolves #3743 ... in a slightly more general way than proposed in that issue.
This PR adds special logic to Plotly.toImage (which is called by Plotly.downloadImage, which is itself called when cli... |
| 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 | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-cache |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/plotly/plotly.js/pull/3746#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F3746 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F3746 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=plotly%2Fplotly.js |
| Reload | https://github.com/plotly/plotly.js/pull/3746 |
| Reload | https://github.com/plotly/plotly.js/pull/3746 |
| Reload | https://github.com/plotly/plotly.js/pull/3746 |
| plotly | https://github.com/plotly |
| plotly.js | https://github.com/plotly/plotly.js |
| Code | https://github.com/plotly/plotly.js |
| Issues726 (726) | https://github.com/plotly/plotly.js/issues |
| Pull requests84 (84) | https://github.com/plotly/plotly.js/pulls |
| Actions | https://github.com/plotly/plotly.js/actions |
| Security and quality | https://github.com/plotly/plotly.js/security |
| Insights | https://github.com/plotly/plotly.js/insights |
| https://github.com/plotly/plotly.js |
| etpinard | https://github.com/etpinard |
| master | https://github.com/plotly/plotly.js/tree/master |
| toimage-current-graph-width-height | https://github.com/plotly/plotly.js/tree/toimage-current-graph-width-height |
| Conversation | https://github.com/plotly/plotly.js/pull/3746 |
| Commits2 (2) | https://github.com/plotly/plotly.js/pull/3746/commits |
| Checks | https://github.com/plotly/plotly.js/pull/3746/checks |
| Files changed | https://github.com/plotly/plotly.js/pull/3746/files |
| Add way for toImage to export images with current graph width/height | https://github.com/plotly/plotly.js/pull/3746#top |
| etpinard | https://github.com/etpinard |
| master | https://github.com/plotly/plotly.js/tree/master |
| toimage-current-graph-width-height | https://github.com/plotly/plotly.js/tree/toimage-current-graph-width-height |
|
| https://github.com/etpinard |
| etpinard | https://github.com/etpinard |
| Apr 8, 2019 | https://github.com/plotly/plotly.js/pull/3746#issue-430652897 |
| #3743 | https://github.com/plotly/plotly.js/issues/3743 |
| @nicolaskruchten | https://github.com/nicolaskruchten |
| Please reload this page | https://github.com/plotly/plotly.js/pull/3746 |
| etpinard | https://github.com/etpinard |
| April 8, 2019 16:40 | https://github.com/plotly/plotly.js/pull/3746#commits-pushed-94b8b54 |
|
| https://github.com/etpinard |
| lint modebar button tests | https://github.com/plotly/plotly.js/pull/3746/commits/94b8b54cefd59a67b26be571d4d950b2a2719477 |
| 94b8b54 | https://github.com/plotly/plotly.js/pull/3746/commits/94b8b54cefd59a67b26be571d4d950b2a2719477 |
|
| https://github.com/etpinard |
| handle width:null|height:null as toImage valid args | https://github.com/plotly/plotly.js/pull/3746/commits/6bff217df96dbca73c20c8ea94257ff6a4547e37 |
| 6bff217 | https://github.com/plotly/plotly.js/pull/3746/commits/6bff217df96dbca73c20c8ea94257ff6a4547e37 |
| https://github.com/etpinard |
| etpinard | https://github.com/etpinard |
|
feature
| https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3Afeature |
|
status: reviewable
| https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22status%3A%20reviewable%22 |
| Apr 8, 2019 | https://github.com/plotly/plotly.js/pull/3746#event-2260969253 |
| https://github.com/etpinard |
| etpinard | https://github.com/etpinard |
| v1.47.0 | https://github.com/plotly/plotly.js/milestone/43 |
| Apr 8, 2019 | https://github.com/plotly/plotly.js/pull/3746#event-2260969261 |
| https://github.com/nicolaskruchten |
| nicolaskruchten | https://github.com/nicolaskruchten |
| Apr 8, 2019 | https://github.com/plotly/plotly.js/pull/3746#issuecomment-481005057 |
| @chriddyp | https://github.com/chriddyp |
| Please reload this page | https://github.com/plotly/plotly.js/pull/3746 |
| https://github.com/chriddyp |
| chriddyp | https://github.com/chriddyp |
| Apr 8, 2019 | https://github.com/plotly/plotly.js/pull/3746#issuecomment-481006362 |
| Please reload this page | https://github.com/plotly/plotly.js/pull/3746 |
| https://github.com/antoinerg |
| antoinerg | https://github.com/antoinerg |
| Apr 8, 2019 | https://github.com/plotly/plotly.js/pull/3746#issuecomment-481012418 |
| @etpinard | https://github.com/etpinard |
| Please reload this page | https://github.com/plotly/plotly.js/pull/3746 |
| https://github.com/etpinard |
| etpinard | https://github.com/etpinard |
| Apr 8, 2019 | https://github.com/plotly/plotly.js/pull/3746#issuecomment-481012725 |
| Please reload this page | https://github.com/plotly/plotly.js/pull/3746 |
| https://github.com/antoinerg |
| antoinerg | https://github.com/antoinerg |
| Apr 8, 2019 | https://github.com/plotly/plotly.js/pull/3746#issuecomment-481013686 |
| Please reload this page | https://github.com/plotly/plotly.js/pull/3746 |
| https://github.com/etpinard |
| etpinard | https://github.com/etpinard |
|
Apr 8, 2019
| https://github.com/plotly/plotly.js/pull/3746#ref-issue-220726325 |
|
feature request: when downloading plot as png using the modebar button, use the current size of the plot as the size of the png
#1576
| https://github.com/plotly/plotly.js/issues/1576 |
| https://github.com/etpinard |
| etpinard | https://github.com/etpinard |
| Apr 8, 2019 | https://github.com/plotly/plotly.js/pull/3746#issuecomment-481016124 |
| #1576 (comment) | https://github.com/plotly/plotly.js/issues/1576#issuecomment-481015960 |
| Please reload this page | https://github.com/plotly/plotly.js/pull/3746 |
| https://github.com/etpinard |
| etpinard | https://github.com/etpinard |
| 636a356 | https://github.com/plotly/plotly.js/commit/636a356b485b22d2213af984ea9e5bc134a44498 |
| Apr 9, 2019 | https://github.com/plotly/plotly.js/pull/3746#event-2261421632 |
| https://github.com/etpinard |
| etpinard | https://github.com/etpinard |
| April 9, 2019 01:39 | https://github.com/plotly/plotly.js/pull/3746#event-2261421716 |
| https://github.com/nicolaskruchten |
| nicolaskruchten | https://github.com/nicolaskruchten |
|
Apr 9, 2019
| https://github.com/plotly/plotly.js/pull/3746#ref-issue-321315821 |
|
take into account the size of the container when rendering a PNG of the image
plotly/dash-core-components#199
| https://github.com/plotly/dash-core-components/issues/199 |
| https://github.com/keeganmcbride |
| keeganmcbride | https://github.com/keeganmcbride |
|
Jun 26, 2019
| https://github.com/plotly/plotly.js/pull/3746#ref-issue-460900177 |
|
Plotly Graph Download Size Issue
plotly/plotly.R#1556
| https://github.com/plotly/plotly.R/issues/1556 |
| https://github.com/nicolaskruchten |
| nicolaskruchten | https://github.com/nicolaskruchten |
|
Oct 10, 2020
| https://github.com/plotly/plotly.js/pull/3746#ref-pullrequest-718654442 |
|
Force default dims for downloadImage to null
#5209
| https://github.com/plotly/plotly.js/pull/5209 |
| https://github.com/billylittlefield |
| billylittlefield | https://github.com/billylittlefield |
|
Jun 20, 2024
| https://github.com/plotly/plotly.js/pull/3746#ref-pullrequest-2365075761 |
|
[plotly.js] Make width/height nullable in Plotly.toImage / Plotly.downloadImage
DefinitelyTyped/DefinitelyTyped#69862
| https://github.com/DefinitelyTyped/DefinitelyTyped/pull/69862 |
| https://github.co/hiddenchars |
| https://github.com/plotly/plotly.js/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F3746 |
| Please reload this page | https://github.com/plotly/plotly.js/pull/3746 |
|
feature
| https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3Afeature |
|
v1.47.0
| https://github.com/plotly/plotly.js/milestone/43 |
|
toImageButtonOptions arg to download current size
| https://github.com/plotly/plotly.js/issues/3743 |
| Please reload this page | https://github.com/plotly/plotly.js/pull/3746 |
|
| https://github.com/etpinard |
|
| https://github.com/nicolaskruchten |
|
| https://github.com/chriddyp |
|
| https://github.com/antoinerg |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |