René's URL Explorer Experiment


Title: Add way for `toImage` to export images with current graph width/height by etpinard · Pull Request #3746 · plotly/plotly.js · GitHub

Open Graph Title: Add way for `toImage` to export images with current graph width/height by etpinard · Pull Request #3746 · plotly/plotly.js

X Title: Add way for `toImage` to export images with current graph width/height by etpinard · Pull Request #3746 · plotly/plotly.js

Description: Open-source JavaScript charting library behind Plotly and Dash - Add way for `toImage` to export images with current graph width/height by etpinard · Pull Request #3746 · plotly/plotly.js

Open Graph Description: 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...

X Description: 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...

Opengraph URL: https://github.com/plotly/plotly.js/pull/3746

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:ca159e9a-b697-6e90-71d2-640c6b81958e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE6A2:3A73AA:1F5B448:27BC7C7:6B01A5CA
html-safe-nonce2d8ede644fbfe97d8954c7f42748f142efd9880b64b79d7794cb25ebac7b17b9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNkEyOjNBNzNBQToxRjVCNDQ4OjI3QkM3Qzc6NkIwMUE1Q0EiLCJ2aXNpdG9yX2lkIjoiNjE3NzgxODA5MDYzMDM5MTI0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacada0ae00c3370679c5ff94a470ec771d78426c314340fa3ac97c3f2cd3fd5e3f
hovercard-subject-tagpull_request:268494229
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/plotly/plotly.js/3746/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ecceb6b1df4b826a48a383845a04369942d72ca838ac274432f4744ca02b5623/plotly/plotly.js/pull/3746
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ecceb6b1df4b826a48a383845a04369942d72ca838ac274432f4744ca02b5623/plotly/plotly.js/pull/3746
og:image:altresolves #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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameetpinard
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git
octolytics-dimension-user_id5997976
octolytics-dimension-user_loginplotly
octolytics-dimension-repository_id45646037
octolytics-dimension-repository_nwoplotly/plotly.js
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id45646037
octolytics-dimension-repository_network_root_nwoplotly/plotly.js
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/plotly/plotly.js/pull/3746#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F3746
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F3746
Sign uphttps://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
Reloadhttps://github.com/plotly/plotly.js/pull/3746
Reloadhttps://github.com/plotly/plotly.js/pull/3746
Reloadhttps://github.com/plotly/plotly.js/pull/3746
plotlyhttps://github.com/plotly
plotly.jshttps://github.com/plotly/plotly.js
Codehttps://github.com/plotly/plotly.js
Issues726 (726)https://github.com/plotly/plotly.js/issues
Pull requests84 (84)https://github.com/plotly/plotly.js/pulls
Actionshttps://github.com/plotly/plotly.js/actions
Security and qualityhttps://github.com/plotly/plotly.js/security
Insightshttps://github.com/plotly/plotly.js/insights
https://github.com/plotly/plotly.js
etpinardhttps://github.com/etpinard
masterhttps://github.com/plotly/plotly.js/tree/master
toimage-current-graph-width-heighthttps://github.com/plotly/plotly.js/tree/toimage-current-graph-width-height
Conversationhttps://github.com/plotly/plotly.js/pull/3746
Commits2 (2)https://github.com/plotly/plotly.js/pull/3746/commits
Checkshttps://github.com/plotly/plotly.js/pull/3746/checks
Files changedhttps://github.com/plotly/plotly.js/pull/3746/files
Add way for toImage to export images with current graph width/heighthttps://github.com/plotly/plotly.js/pull/3746#top
etpinardhttps://github.com/etpinard
masterhttps://github.com/plotly/plotly.js/tree/master
toimage-current-graph-width-heighthttps://github.com/plotly/plotly.js/tree/toimage-current-graph-width-height
https://github.com/etpinard
etpinardhttps://github.com/etpinard
Apr 8, 2019https://github.com/plotly/plotly.js/pull/3746#issue-430652897
#3743https://github.com/plotly/plotly.js/issues/3743
@nicolaskruchtenhttps://github.com/nicolaskruchten
Please reload this pagehttps://github.com/plotly/plotly.js/pull/3746
etpinardhttps://github.com/etpinard
April 8, 2019 16:40https://github.com/plotly/plotly.js/pull/3746#commits-pushed-94b8b54
https://github.com/etpinard
lint modebar button testshttps://github.com/plotly/plotly.js/pull/3746/commits/94b8b54cefd59a67b26be571d4d950b2a2719477
94b8b54https://github.com/plotly/plotly.js/pull/3746/commits/94b8b54cefd59a67b26be571d4d950b2a2719477
https://github.com/etpinard
handle width:null|height:null as toImage valid argshttps://github.com/plotly/plotly.js/pull/3746/commits/6bff217df96dbca73c20c8ea94257ff6a4547e37
6bff217https://github.com/plotly/plotly.js/pull/3746/commits/6bff217df96dbca73c20c8ea94257ff6a4547e37
https://github.com/etpinard
etpinardhttps://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, 2019https://github.com/plotly/plotly.js/pull/3746#event-2260969253
https://github.com/etpinard
etpinardhttps://github.com/etpinard
v1.47.0https://github.com/plotly/plotly.js/milestone/43
Apr 8, 2019https://github.com/plotly/plotly.js/pull/3746#event-2260969261
https://github.com/nicolaskruchten
nicolaskruchtenhttps://github.com/nicolaskruchten
Apr 8, 2019https://github.com/plotly/plotly.js/pull/3746#issuecomment-481005057
@chriddyphttps://github.com/chriddyp
Please reload this pagehttps://github.com/plotly/plotly.js/pull/3746
https://github.com/chriddyp
chriddyphttps://github.com/chriddyp
Apr 8, 2019https://github.com/plotly/plotly.js/pull/3746#issuecomment-481006362
Please reload this pagehttps://github.com/plotly/plotly.js/pull/3746
https://github.com/antoinerg
antoinerghttps://github.com/antoinerg
Apr 8, 2019https://github.com/plotly/plotly.js/pull/3746#issuecomment-481012418
@etpinardhttps://github.com/etpinard
Please reload this pagehttps://github.com/plotly/plotly.js/pull/3746
https://github.com/etpinard
etpinardhttps://github.com/etpinard
Apr 8, 2019https://github.com/plotly/plotly.js/pull/3746#issuecomment-481012725
Please reload this pagehttps://github.com/plotly/plotly.js/pull/3746
https://github.com/antoinerg
antoinerghttps://github.com/antoinerg
Apr 8, 2019https://github.com/plotly/plotly.js/pull/3746#issuecomment-481013686
Please reload this pagehttps://github.com/plotly/plotly.js/pull/3746
https://github.com/etpinard
etpinardhttps://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
etpinardhttps://github.com/etpinard
Apr 8, 2019https://github.com/plotly/plotly.js/pull/3746#issuecomment-481016124
#1576 (comment)https://github.com/plotly/plotly.js/issues/1576#issuecomment-481015960
Please reload this pagehttps://github.com/plotly/plotly.js/pull/3746
https://github.com/etpinard
etpinardhttps://github.com/etpinard
636a356https://github.com/plotly/plotly.js/commit/636a356b485b22d2213af984ea9e5bc134a44498
Apr 9, 2019https://github.com/plotly/plotly.js/pull/3746#event-2261421632
https://github.com/etpinard
etpinardhttps://github.com/etpinard
April 9, 2019 01:39https://github.com/plotly/plotly.js/pull/3746#event-2261421716
https://github.com/nicolaskruchten
nicolaskruchtenhttps://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
keeganmcbridehttps://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
nicolaskruchtenhttps://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
billylittlefieldhttps://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 freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F3746
Please reload this pagehttps://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 pagehttps://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
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.