René's URL Explorer Experiment


Title: Remove internal option layout.autosize='initial' (Fixes #537) by n-riesco · Pull Request #577 · plotly/plotly.js · GitHub

Open Graph Title: Remove internal option layout.autosize='initial' (Fixes #537) by n-riesco · Pull Request #577 · plotly/plotly.js

X Title: Remove internal option layout.autosize='initial' (Fixes #537) by n-riesco · Pull Request #577 · plotly/plotly.js

Description: Moved initial call to plotAutoSize into Plots.supplyDefaults(gd). Replaced { autosize: 'initial' } with the flag gd._fullLayout._initialAutoSizeIsDone. { autosize: false } the values of width and height undefined in gd.layout will be autosized only once. { autosize: true } only autosizes the values of width and height undefined in gd.layout. Fixes #537

Open Graph Description: Moved initial call to plotAutoSize into Plots.supplyDefaults(gd). Replaced { autosize: 'initial' } with the flag gd._fullLayout._initialAutoSizeIsDone. { autosize: false } the values of wid...

X Description: Moved initial call to plotAutoSize into Plots.supplyDefaults(gd). Replaced { autosize: 'initial' } with the flag gd._fullLayout._initialAutoSizeIsDone. { autosize: false } the value...

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

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b6e747b0-6cc6-72dc-ac89-8210c9a1e4c8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id99E6:10DACD:16F9A23:1E70935:6B0138D4
html-safe-nonce240b74334386de6a241399690ad8d2f9584881f958764cb641d3b8467aafa48f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUU2OjEwREFDRDoxNkY5QTIzOjFFNzA5MzU6NkIwMTM4RDQiLCJ2aXNpdG9yX2lkIjoiNjI1ODMyMTE4MzgwNTA5NDEwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace4440ee09fd5e3723128ccbfb4499cf3201cef172370e164fe55fa1034da5c63
hovercard-subject-tagpull_request:71763796
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/plotly/plotly.js/pull/577/files
twitter:imagehttps://avatars.githubusercontent.com/u/6199391?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/6199391?s=400&v=4
og:image:altMoved initial call to plotAutoSize into Plots.supplyDefaults(gd). Replaced { autosize: 'initial' } with the flag gd._fullLayout._initialAutoSizeIsDone. { autosize: false } the values of wid...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
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

Links:

Skip to contenthttps://github.com/plotly/plotly.js/pull/577/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F577%2Ffiles
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%2F577%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=plotly%2Fplotly.js
Reloadhttps://github.com/plotly/plotly.js/pull/577/files
Reloadhttps://github.com/plotly/plotly.js/pull/577/files
Reloadhttps://github.com/plotly/plotly.js/pull/577/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Fplotly%2Fplotly.js%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fplotly%2Fplotly.js%2Fissues%2Fnew%2Fchoose
etpinardhttps://github.com/etpinard
plotly:masterhttps://github.com/plotly/plotly.js/tree/master
n-riesco:remove-autosize-initialhttps://github.com/n-riesco/plotly.js/tree/remove-autosize-initial
Conversation 48 https://github.com/plotly/plotly.js/pull/577
Commits 26 https://github.com/plotly/plotly.js/pull/577/commits
Checks 0 https://github.com/plotly/plotly.js/pull/577/checks
Files changed https://github.com/plotly/plotly.js/pull/577/files
Please reload this pagehttps://github.com/plotly/plotly.js/pull/577/files
Remove internal option layout.autosize='initial' (Fixes #537) https://github.com/plotly/plotly.js/pull/577/files#top
Show all changes 26 commits https://github.com/plotly/plotly.js/pull/577/files
f1415f8 autosize: Remove unnecessary guard in plotAutoSize n-riesco May 25, 2016 https://github.com/plotly/plotly.js/pull/577/commits/f1415f82f6eb63761c9ef026e288ae29bfd4658a
3a2c547 autosize: remove internal option 'initial' n-riesco May 27, 2016 https://github.com/plotly/plotly.js/pull/577/commits/3a2c547bbe9dcebc61e18731c973927cbcf3cf28
f9140b0 autosize: update baseline image `ternary_simple` n-riesco May 27, 2016 https://github.com/plotly/plotly.js/pull/577/commits/f9140b00d0402d17c3fbe601877aef73b44c942a
206888b test: make `toimage_test.js` stricter n-riesco May 27, 2016 https://github.com/plotly/plotly.js/pull/577/commits/206888b3d3a8fe2c42e5c9033577d845b2d66eaa
9c2a0d9 test: add test for issue #537 n-riesco May 27, 2016 https://github.com/plotly/plotly.js/pull/577/commits/9c2a0d96166f1aca13fc84cab48002106cfa1d72
53d4b90 test: autosize sets size of main SVG n-riesco Jun 1, 2016 https://github.com/plotly/plotly.js/pull/577/commits/53d4b90f39bb63f37789b15357cfaaff9ce63124
61aa240 test: supplyDefaults accepts plain objects n-riesco Jun 1, 2016 https://github.com/plotly/plotly.js/pull/577/commits/61aa240d00808cc4f03c4c53e37b0c63e25439f1
a334254 autosize: supplyDefaults accepts plain objects n-riesco Jun 1, 2016 https://github.com/plotly/plotly.js/pull/577/commits/a334254704ab43d0a571e0755c54e6f55891f3eb
7815efe test: autosize, fillFrame and frameMargins n-riesco Jun 1, 2016 https://github.com/plotly/plotly.js/pull/577/commits/7815efe28cee4e818168461fd8c4e8e84c110a3d
7e95d93 autosize: respect config.autosizable n-riesco Jun 1, 2016 https://github.com/plotly/plotly.js/pull/577/commits/7e95d936c544a4f9d3aa3497da2f609dbe0b363a
370ad8b test: config.autosizable n-riesco Jun 1, 2016 https://github.com/plotly/plotly.js/pull/577/commits/370ad8b7205a90b8d26f5374e9d1a995457afba6
46d7af5 autosize: supplyDefaults accepts plain objects n-riesco Jun 1, 2016 https://github.com/plotly/plotly.js/pull/577/commits/46d7af5ae7e7bbefb25ee048cec603698b6af684
94f450a test: account for default autosizable being false n-riesco Jun 1, 2016 https://github.com/plotly/plotly.js/pull/577/commits/94f450a31d35a34e82600faa29662e42587c5daa
b286469 Merge branch 'master' into remove-autosize-initial n-riesco Jun 7, 2016 https://github.com/plotly/plotly.js/pull/577/commits/b286469498076eded38243beb0167c7bcb102103
49bb2cf autosize: use Lib.isPlotDiv(gd) n-riesco Jun 7, 2016 https://github.com/plotly/plotly.js/pull/577/commits/49bb2cfb8c54d20d6af8d5d56b48bc03e3bf00a3
0c316ba autosize: expand description of config.autosizable n-riesco Jun 7, 2016 https://github.com/plotly/plotly.js/pull/577/commits/0c316bab8f0d60ad812b0e0a4f81cfe958152d06
3ed69b1 autosize: revert change of variable name n-riesco Jun 7, 2016 https://github.com/plotly/plotly.js/pull/577/commits/3ed69b1490e2b45914920cabb3a2e3c3e222ca5c
862578e autosize: fix condition to call sanitizeMargins n-riesco Jun 7, 2016 https://github.com/plotly/plotly.js/pull/577/commits/862578ee48ab4b02a3b655728bc38bb708eca41d
172d81d autosize: restore backwards-compatibility with v1 n-riesco Jun 7, 2016 https://github.com/plotly/plotly.js/pull/577/commits/172d81dfad29a31ca06c745e08f9e602ac90628c
42a3ed0 test: autosize is backwards-compatible n-riesco Jun 7, 2016 https://github.com/plotly/plotly.js/pull/577/commits/42a3ed0172e5ea27fe88a767b395bdd96af7f85d
de69b3d test: supplyDefaults calls sanitizeMargins once n-riesco Jun 7, 2016 https://github.com/plotly/plotly.js/pull/577/commits/de69b3d97824500fcffc48e34423991db9ba95f2
ada5323 lib: ensure isPlotDiv accepts plain objects n-riesco Jun 7, 2016 https://github.com/plotly/plotly.js/pull/577/commits/ada5323716cfb32e4e9daa6f22d19b40e5990a5c
bc1a970 test: Lib.isPlotLib accepts plain objects n-riesco Jun 7, 2016 https://github.com/plotly/plotly.js/pull/577/commits/bc1a97033d09bb74c92f10362aa71f7ed0702398
6021c43 autosize: use Lib.isPlotDiv n-riesco Jun 7, 2016 https://github.com/plotly/plotly.js/pull/577/commits/6021c4387b93d685227143f24b77855c94d09b3e
e822ff7 autosize: ensure sanitizeMargins is called once n-riesco Jun 7, 2016 https://github.com/plotly/plotly.js/pull/577/commits/e822ff72ac83b2953dfb2c43aee01035d7a72035
fbc01c3 autosize: change attribute valType to boolean n-riesco Jun 9, 2016 https://github.com/plotly/plotly.js/pull/577/commits/fbc01c3dc26b4bc3ba005cac87ce128f71fa9551
Clear filters https://github.com/plotly/plotly.js/pull/577/files
Please reload this pagehttps://github.com/plotly/plotly.js/pull/577/files
Please reload this pagehttps://github.com/plotly/plotly.js/pull/577/files
index.js https://github.com/plotly/plotly.js/pull/577/files#diff-94bf5f11334ccba786d331039367a21a9fe004d13fe75ec72f9d15961ef1c0b5
plot_api.js https://github.com/plotly/plotly.js/pull/577/files#diff-4cc342865f02fea8acedf92e7c0855b4c805c9824b4b4aaf0f587dba2506c9e7
plot_config.js https://github.com/plotly/plotly.js/pull/577/files#diff-d31a8bfbd9471b561325b982d109d2433191c26d3fc8e5eb76559c2b5460501f
layout_attributes.js https://github.com/plotly/plotly.js/pull/577/files#diff-952f0c040e4d18aa0e79587ed8d27319cf3418270e015c698276e1ffe30ece00
plots.js https://github.com/plotly/plotly.js/pull/577/files#diff-bb59a2aa90fd14ef3218544010e7fe42f370e10f0c8ee702b3f85ab86887d970
ternary_simple.png https://github.com/plotly/plotly.js/pull/577/files#diff-28b2138f552e88247668c52566326d67c169a28cebc68e3d507a9d5c9e3d8c49
ternary_simple.json https://github.com/plotly/plotly.js/pull/577/files#diff-f946fcc079ba1deb736dec42ead62893202d272d974e6468f4a021f5ee1e3fcc
config_test.js https://github.com/plotly/plotly.js/pull/577/files#diff-e22b5ac4da84c3a23f0f4e2313be60a411adcf4fc698fbbc9c7f312d6f3bb891
lib_test.js https://github.com/plotly/plotly.js/pull/577/files#diff-23641dad47ba17a58afef1e21b4f4f325ec165a7f5a8cd43539e451cafa70159
modebar_test.js https://github.com/plotly/plotly.js/pull/577/files#diff-371e9e2840d99d59b732531e64a745819862d8ad27e748225f689fe741a18989
plot_api_test.js https://github.com/plotly/plotly.js/pull/577/files#diff-7bf8ec1007c64f73d819779672f7da92e2dad599bb9a0171abdcd78f35412e74
plots_test.js https://github.com/plotly/plotly.js/pull/577/files#diff-0ec5ead8ef5f115baa4c93a063456fd8c59ffae75ff98feeea490d207e039d72
toimage_test.js https://github.com/plotly/plotly.js/pull/577/files#diff-cb24dd981cf41998c93295c76af5b1e41c93bdd2e4da6ac96021b2dc3772279a
src/lib/index.jshttps://github.com/plotly/plotly.js/pull/577/files#diff-94bf5f11334ccba786d331039367a21a9fe004d13fe75ec72f9d15961ef1c0b5
View file https://github.com/n-riesco/plotly.js/blob/fbc01c3dc26b4bc3ba005cac87ce128f71fa9551/src/lib/index.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/plotly/plotly.js/pull/577/{{ revealButtonHref }}
https://github.com/plotly/plotly.js/pull/577/files#diff-94bf5f11334ccba786d331039367a21a9fe004d13fe75ec72f9d15961ef1c0b5
https://github.com/plotly/plotly.js/pull/577/files#diff-94bf5f11334ccba786d331039367a21a9fe004d13fe75ec72f9d15961ef1c0b5
src/plot_api/plot_api.jshttps://github.com/plotly/plotly.js/pull/577/files#diff-4cc342865f02fea8acedf92e7c0855b4c805c9824b4b4aaf0f587dba2506c9e7
View file https://github.com/n-riesco/plotly.js/blob/fbc01c3dc26b4bc3ba005cac87ce128f71fa9551/src/plot_api/plot_api.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/plotly/plotly.js/pull/577/{{ revealButtonHref }}
https://github.com/plotly/plotly.js/pull/577/files#diff-4cc342865f02fea8acedf92e7c0855b4c805c9824b4b4aaf0f587dba2506c9e7
https://github.com/plotly/plotly.js/pull/577/files#diff-4cc342865f02fea8acedf92e7c0855b4c805c9824b4b4aaf0f587dba2506c9e7
https://github.com/plotly/plotly.js/pull/577/files#diff-4cc342865f02fea8acedf92e7c0855b4c805c9824b4b4aaf0f587dba2506c9e7
https://github.com/plotly/plotly.js/pull/577/files#diff-4cc342865f02fea8acedf92e7c0855b4c805c9824b4b4aaf0f587dba2506c9e7
https://github.com/plotly/plotly.js/pull/577/files#diff-4cc342865f02fea8acedf92e7c0855b4c805c9824b4b4aaf0f587dba2506c9e7
https://github.com/plotly/plotly.js/pull/577/files#diff-4cc342865f02fea8acedf92e7c0855b4c805c9824b4b4aaf0f587dba2506c9e7
https://github.com/plotly/plotly.js/pull/577/files#diff-4cc342865f02fea8acedf92e7c0855b4c805c9824b4b4aaf0f587dba2506c9e7
https://github.com/plotly/plotly.js/pull/577/files#diff-4cc342865f02fea8acedf92e7c0855b4c805c9824b4b4aaf0f587dba2506c9e7
https://github.com/plotly/plotly.js/pull/577/files#diff-4cc342865f02fea8acedf92e7c0855b4c805c9824b4b4aaf0f587dba2506c9e7
https://github.com/plotly/plotly.js/pull/577/files#diff-4cc342865f02fea8acedf92e7c0855b4c805c9824b4b4aaf0f587dba2506c9e7
https://github.com/plotly/plotly.js/pull/577/files#diff-4cc342865f02fea8acedf92e7c0855b4c805c9824b4b4aaf0f587dba2506c9e7
src/plot_api/plot_config.jshttps://github.com/plotly/plotly.js/pull/577/files#diff-d31a8bfbd9471b561325b982d109d2433191c26d3fc8e5eb76559c2b5460501f
View file https://github.com/n-riesco/plotly.js/blob/fbc01c3dc26b4bc3ba005cac87ce128f71fa9551/src/plot_api/plot_config.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/plotly/plotly.js/pull/577/{{ revealButtonHref }}
https://github.com/plotly/plotly.js/pull/577/files#diff-d31a8bfbd9471b561325b982d109d2433191c26d3fc8e5eb76559c2b5460501f
https://github.com/plotly/plotly.js/pull/577/files#diff-d31a8bfbd9471b561325b982d109d2433191c26d3fc8e5eb76559c2b5460501f
src/plots/layout_attributes.jshttps://github.com/plotly/plotly.js/pull/577/files#diff-952f0c040e4d18aa0e79587ed8d27319cf3418270e015c698276e1ffe30ece00
View file https://github.com/n-riesco/plotly.js/blob/fbc01c3dc26b4bc3ba005cac87ce128f71fa9551/src/plots/layout_attributes.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/plotly/plotly.js/pull/577/{{ revealButtonHref }}
https://github.com/plotly/plotly.js/pull/577/files#diff-952f0c040e4d18aa0e79587ed8d27319cf3418270e015c698276e1ffe30ece00
https://github.com/plotly/plotly.js/pull/577/files#diff-952f0c040e4d18aa0e79587ed8d27319cf3418270e015c698276e1ffe30ece00
Please reload this pagehttps://github.com/plotly/plotly.js/pull/577/files
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.