René's URL Explorer Experiment


Title: `fitbounds="locations"` parameter not working for `px.choropleth_map` · Issue #4262 · plotly/plotly.py · GitHub

Open Graph Title: `fitbounds="locations"` parameter not working for `px.choropleth_map` · Issue #4262 · plotly/plotly.py

X Title: `fitbounds="locations"` parameter not working for `px.choropleth_map` · Issue #4262 · plotly/plotly.py

Description: The fitbounds parameter appear not to work when used in choropleth mapbox. The only way I found to pass it to the Figure object was to use the update_geos method. The following is a sample of the code to show the parameter used: fig = px...

Open Graph Description: The fitbounds parameter appear not to work when used in choropleth mapbox. The only way I found to pass it to the Figure object was to use the update_geos method. The following is a sample of the c...

X Description: The fitbounds parameter appear not to work when used in choropleth mapbox. The only way I found to pass it to the Figure object was to use the update_geos method. The following is a sample of the c...

Opengraph URL: https://github.com/plotly/plotly.py/issues/4262

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`fitbounds=\"locations\"` parameter not working for `px.choropleth_map`","articleBody":"The `fitbounds` parameter appear not to work when used in choropleth mapbox. The only way I found to pass it to the Figure object was to use the `update_geos` method.\r\n\r\nThe following is a sample of the code to show the parameter used:\r\n```\r\nfig = px.choropleth_mapbox(\r\n        df, \r\n        geojson=self.geojson,\r\n        featureidkey=self.featureidkey,\r\n        locations=\"location_code,\r\n        color=self.metric,\r\n        mapbox_style=\"carto-positron\",\r\n        opacity=0.4\r\n    )\r\nfig.update_geos(fitbounds=\"locations\")\r\n```\r\n\r\nWhen calling `fig.show`, the plot opens to the (0,0) location in Gulf of Guinea.\r\n\r\nWhy the `fitbounds` parameter doesn't work on choropleth mapbox?","author":{"url":"https://github.com/mattiatantardini","@type":"Person","name":"mattiatantardini"},"datePublished":"2023-06-26T08:53:34Z","url":"https://github.com/plotly/plotly.py/issues/4262"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:fe2e6ba9-2532-31fb-f57c-39d49eb69f44
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id800A:29FFA9:4C660F4:6072EC2:6B025638
html-safe-nonceaf2e51b87c6f4c9ccccdee17d3af34ae4b08818d4160c2b9940c414224209ab2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDBBOjI5RkZBOTo0QzY2MEY0OjYwNzJFQzI6NkIwMjU2MzgiLCJ2aXNpdG9yX2lkIjoiNDUxNDk1NjE1NDA1NjYyNzc2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdab6f108836c1ea7c92a797a82cfdd3e2039c19cde5428c12dc31b01b87d62c3
hovercard-subject-tagissue:1774268680
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.py/4262/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d4c3785b8498c7dc71a768c080e81aa22df8efec047388197a55183a1b2110db/plotly/plotly.py/issues/4262
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d4c3785b8498c7dc71a768c080e81aa22df8efec047388197a55183a1b2110db/plotly/plotly.py/issues/4262
og:image:altThe fitbounds parameter appear not to work when used in choropleth mapbox. The only way I found to pass it to the Figure object was to use the update_geos method. The following is a sample of the c...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemattiatantardini
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/plotly/plotly.py git https://github.com/plotly/plotly.py.git
octolytics-dimension-user_id5997976
octolytics-dimension-user_loginplotly
octolytics-dimension-repository_id14579099
octolytics-dimension-repository_nwoplotly/plotly.py
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id14579099
octolytics-dimension-repository_network_root_nwoplotly/plotly.py
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/plotly/plotly.py/issues/4262#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.py%2Fissues%2F4262
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.py%2Fissues%2F4262
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=plotly%2Fplotly.py
Reloadhttps://github.com/plotly/plotly.py/issues/4262
Reloadhttps://github.com/plotly/plotly.py/issues/4262
Reloadhttps://github.com/plotly/plotly.py/issues/4262
plotlyhttps://github.com/plotly
plotly.pyhttps://github.com/plotly/plotly.py
Codehttps://github.com/plotly/plotly.py
Issues652 (652)https://github.com/plotly/plotly.py/issues
Pull requests85 (85)https://github.com/plotly/plotly.py/pulls
Actionshttps://github.com/plotly/plotly.py/actions
Security and qualityhttps://github.com/plotly/plotly.py/security
Insightshttps://github.com/plotly/plotly.py/insights
https://github.com/plotly/plotly.py
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.py/issues/4262
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.py/issues/4262
fitbounds="locations" parameter not working for px.choropleth_maphttps://github.com/plotly/plotly.py/issues/4262#top
P3backloghttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22P3%22
bugsomething brokenhttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22bug%22
size: 1https://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22size%3A%201%22
https://github.com/mattiatantardini
mattiatantardinihttps://github.com/mattiatantardini
on Jun 26, 2023https://github.com/plotly/plotly.py/issues/4262#issue-1774268680
https://github.com/tantardini
tantardinihttps://github.com/tantardini
on Jul 3, 2023https://github.com/plotly/plotly.py/issues/4262#issuecomment-1617748094
https://stackoverflow.com/q/63787612/16797805https://stackoverflow.com/q/63787612/16797805
gvwilsonhttps://github.com/gvwilson
on Jul 11, 2024https://github.com/plotly/plotly.py/issues/4262#event-13474133374
gvwilsonhttps://github.com/gvwilson
on Aug 2, 2024https://github.com/plotly/plotly.py/issues/4262#event-13740674331
gvwilsonhttps://github.com/gvwilson
P3backloghttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22P3%22
bugsomething brokenhttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22bug%22
on Aug 12, 2024https://github.com/plotly/plotly.py/issues/4262#event-13849322623
https://github.com/b-a0
b-a0https://github.com/b-a0
on Sep 2, 2026https://github.com/plotly/plotly.py/issues/4262#issuecomment-5510186754
https://github.com/camdecoster
camdecosterhttps://github.com/camdecoster
on Sep 2, 2026https://github.com/plotly/plotly.py/issues/4262#issuecomment-5515300525
plotly/plotly.js#3434https://github.com/plotly/plotly.js/issues/3434
plotly/plotly.js#7911https://github.com/plotly/plotly.js/pull/7911
camdecosterhttps://github.com/camdecoster
on Sep 2, 2026https://github.com/plotly/plotly.py/issues/4262#event-30440963616
camdecosterhttps://github.com/camdecoster
size: 1https://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22size%3A%201%22
on Sep 2, 2026https://github.com/plotly/plotly.py/issues/4262#event-30440976375
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.py/issues/4262
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.py/issues/4262
P3backloghttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22P3%22
bugsomething brokenhttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22bug%22
size: 1https://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22size%3A%201%22
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.