René's URL Explorer Experiment


Title: offsetgroup with horizontally stacked/relative bar traces · Issue #5007 · plotly/plotly.py · GitHub

Open Graph Title: offsetgroup with horizontally stacked/relative bar traces · Issue #5007 · plotly/plotly.py

X Title: offsetgroup with horizontally stacked/relative bar traces · Issue #5007 · plotly/plotly.py

Description: It appears the feature to allow offsetgroup to work with stacked/relative bar traces (plotly/plotly.js#7009) does not work with horizontally oriented bar traces. Taking the example from the documentation https://plotly.com/python/bar-cha...

Open Graph Description: It appears the feature to allow offsetgroup to work with stacked/relative bar traces (plotly/plotly.js#7009) does not work with horizontally oriented bar traces. Taking the example from the documen...

X Description: It appears the feature to allow offsetgroup to work with stacked/relative bar traces (plotly/plotly.js#7009) does not work with horizontally oriented bar traces. Taking the example from the documen...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"offsetgroup with horizontally stacked/relative bar traces","articleBody":"\nIt appears the feature to allow offsetgroup to work with stacked/relative bar traces (https://github.com/plotly/plotly.js/pull/7009) does not work with horizontally oriented bar traces.  Taking the example from the documentation\n\nhttps://plotly.com/python/bar-charts/#grouped-stacked-bar-chart\n\nif I reverse the x and y axis and set orientation to 'h', the traces are not separated by the different offset groups:\n\n```\nimport plotly.graph_objects as go\n\ndata = [\n    go.Bar(\n        y=['Q1', 'Q2', 'Q3', 'Q4'],\n        x=[150, 200, 250, 300],\n        name='New York',\n        offsetgroup=\"USA\",\n        orientation='h'\n    ),\n    go.Bar(\n        y=['Q1', 'Q2', 'Q3', 'Q4'],\n        x=[180, 220, 270, 320],\n        name='Boston',\n        offsetgroup=\"USA\",\n        orientation='h'\n    ),\n    go.Bar(\n        y=['Q1', 'Q2', 'Q3', 'Q4'],\n        x=[130, 170, 210, 260],\n        name='Montreal',\n        offsetgroup=\"Canada\",\n        orientation='h'\n    ),\n    go.Bar(\n        y=['Q1', 'Q2', 'Q3', 'Q4'],\n        x=[160, 210, 260, 310],\n        name='Toronto',\n        offsetgroup=\"Canada\",\n        orientation='h'\n    )\n]\n\nlayout = go.Layout(\n    title={\n        'text': 'Quarterly Sales by City, Grouped by Country'\n    },\n    yaxis={\n        'title': {\n            'text': 'Quarter'\n        }\n    },\n    xaxis={\n        'title': {\n            'text': 'Sales'\n        }\n    },\n    barmode='stack'\n)\n\nfig = go.Figure(data=data, layout=layout)\n\nfig.show()\n\n```\n\n![Image](https://github.com/user-attachments/assets/d96dcba1-c14d-48e9-9de4-e7f7098ac2d9)\n\nUsing plotly 6.0.0.","author":{"url":"https://github.com/neutralino","@type":"Person","name":"neutralino"},"datePublished":"2025-02-03T11:48:59Z","url":"https://github.com/plotly/plotly.py/issues/5007"}

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:cdcb9809-ae31-5786-8094-23424886e5ed
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id89EE:1F2D:10F6FF0:156EE61:6B014E61
html-safe-nonceae7e4d5c3d95662602a25ccee84c08e7f29594de1fcbd7f3f3e7422068a8c3b6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OUVFOjFGMkQ6MTBGNkZGMDoxNTZFRTYxOjZCMDE0RTYxIiwidmlzaXRvcl9pZCI6IjIxMDYwNDQ1MjExMjgyMTgyMDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb7e71414faddf9ef93e05cdac89e78e33aa5baa0d3ce77cbc4cb14ebf4f37a36
hovercard-subject-tagissue:2827286329
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/5007/issue_layout
twitter:imagehttps://opengraph.githubassets.com/35977af75016147e2482691709bb63bbe4a6315a131a02ef5adf3bd2f6271ace/plotly/plotly.py/issues/5007
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/35977af75016147e2482691709bb63bbe4a6315a131a02ef5adf3bd2f6271ace/plotly/plotly.py/issues/5007
og:image:altIt appears the feature to allow offsetgroup to work with stacked/relative bar traces (plotly/plotly.js#7009) does not work with horizontally oriented bar traces. Taking the example from the documen...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameneutralino
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/plotly/plotly.py/issues/5007#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.py%2Fissues%2F5007
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%2F5007
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/5007
Reloadhttps://github.com/plotly/plotly.py/issues/5007
Reloadhttps://github.com/plotly/plotly.py/issues/5007
plotlyhttps://github.com/plotly
plotly.pyhttps://github.com/plotly/plotly.py
Codehttps://github.com/plotly/plotly.py
Issues650 (650)https://github.com/plotly/plotly.py/issues
Pull requests83 (83)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/5007
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.py/issues/5007
offsetgroup with horizontally stacked/relative bar traceshttps://github.com/plotly/plotly.py/issues/5007#top
P2considered for next cyclehttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22P2%22
bugsomething brokenhttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/neutralino
neutralinohttps://github.com/neutralino
on Feb 3, 2025https://github.com/plotly/plotly.py/issues/5007#issue-2827286329
plotly/plotly.js#7009https://github.com/plotly/plotly.js/pull/7009
https://plotly.com/python/bar-charts/#grouped-stacked-bar-charthttps://plotly.com/python/bar-charts/#grouped-stacked-bar-chart
https://private-user-images.githubusercontent.com/7414667/409089954-d96dcba1-c14d-48e9-9de4-e7f7098ac2d9.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyNDgwMTMsIm5iZiI6MTc5NTI0NzcxMywicGF0aCI6Ii83NDE0NjY3LzQwOTA4OTk1NC1kOTZkY2JhMS1jMTRkLTQ4ZTktOWRlNC1lN2Y3MDk4YWMyZDkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMDc1NTEzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODdiNmNmNWQ4MTA4YWMyZjVjYmVmYzk4M2JjOTU4ODEyZjVlNjhiYjg2YWQ4YjgxMjgzM2RmZWVlYzNmMTI2OCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.tJeQHpxjs90Arn7J_4bslh2FLzuBmJ1TYqXutL4PDgs
gvwilsonhttps://github.com/gvwilson
bugsomething brokenhttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22bug%22
P2considered for next cyclehttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22P2%22
on Feb 3, 2025https://github.com/plotly/plotly.py/issues/5007#event-16164541155
https://github.com/gvwilson
gvwilsonhttps://github.com/gvwilson
on Feb 3, 2025https://github.com/plotly/plotly.py/issues/5007#issuecomment-2631379088
@neutralinohttps://github.com/neutralino
@gvwilsonhttps://github.com/gvwilson
https://github.com/my-tien
my-tienhttps://github.com/my-tien
on Feb 6, 2025https://github.com/plotly/plotly.py/issues/5007#issuecomment-2639923214
https://codepen.io/toffi-fee/pen/ByBgbyXhttps://codepen.io/toffi-fee/pen/ByBgbyX
https://private-user-images.githubusercontent.com/3898364/410491127-562f0ac9-67cb-46e8-8936-f562557d078e.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyNDgwMTMsIm5iZiI6MTc5NTI0NzcxMywicGF0aCI6Ii8zODk4MzY0LzQxMDQ5MTEyNy01NjJmMGFjOS02N2NiLTQ2ZTgtODkzNi1mNTYyNTU3ZDA3OGUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMDc1NTEzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9N2YzMGY3ZmYzNGZhZTI4N2NkMGJmYzdiNWYzYzIzMTEwMDEwMzY0ZmNmZGY4ZTlkOTkwZmYwZmY0ZTMzN2ViNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.amzp1dXyyQJWHLb7Lp7YZdJ2SRc06hOUof4YY_big-w
https://github.com/gvwilson
gvwilsonhttps://github.com/gvwilson
on Feb 6, 2025https://github.com/plotly/plotly.py/issues/5007#issuecomment-2639944863
@my-tienhttps://github.com/my-tien
https://github.com/my-tien
my-tienhttps://github.com/my-tien
on Feb 7, 2025https://github.com/plotly/plotly.py/issues/5007#issuecomment-2642454971
@gvwilsonhttps://github.com/gvwilson
@neutralinohttps://github.com/neutralino
see herehttps://github.com/microsoft/vscode-notebook-renderers/blob/0ef2be324acaf56a505db81701da6bea4e727ebd/package.json#L168C24-L168C37
https://github.com/neutralino
neutralinohttps://github.com/neutralino
on Feb 7, 2025https://github.com/plotly/plotly.py/issues/5007#issuecomment-2642739656
@my-tienhttps://github.com/my-tien
https://github.com/pendyurinandrey
pendyurinandreyhttps://github.com/pendyurinandrey
on Mar 9, 2025https://github.com/plotly/plotly.py/issues/5007#issuecomment-2708991661
https://plotly.com/python/bar-charts/#grouped-stacked-bar-charthttps://plotly.com/python/bar-charts/#grouped-stacked-bar-chart
https://private-user-images.githubusercontent.com/10907012/420692945-131536d0-de99-4ae1-a3c9-3cfda60efe78.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyNDgwMTMsIm5iZiI6MTc5NTI0NzcxMywicGF0aCI6Ii8xMDkwNzAxMi80MjA2OTI5NDUtMTMxNTM2ZDAtZGU5OS00YWUxLWEzYzktM2NmZGE2MGVmZTc4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTIxVDA3NTUxM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ0Y2NjMzI3NzI4MTJmNDA2ZmM5MGViZGIyMmRlYjEyMjIyZWM3OWEwYzMxMTg0Mjc5ODkwZGM5YWFlZWY5ZDkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.whSWik9dapwXUTK9DTXIpWWvOAlvDnAWIeMIlPOY5Js
https://github.com/my-tien
my-tienhttps://github.com/my-tien
on Mar 10, 2025https://github.com/plotly/plotly.py/issues/5007#issuecomment-2709738426
@pendyurinandreyhttps://github.com/pendyurinandrey
https://github.com/microsoft/vscode-notebook-renderers/blob/0ef2be324acaf56a505db81701da6bea4e727ebd/package.json#L168https://github.com/microsoft/vscode-notebook-renderers/blob/0ef2be324acaf56a505db81701da6bea4e727ebd/package.json#L168
https://github.com/rajeee
rajeeehttps://github.com/rajeee
on Aug 1, 2025https://github.com/plotly/plotly.py/issues/5007#issuecomment-3145765321
Grouped Bar and Scatter Chart examplehttps://plotly.com/python/graphing-multiple-chart-types/
https://private-user-images.githubusercontent.com/12487392/473612162-bc81081f-9424-4685-96e1-96b0972a7e14.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyNDgwMTMsIm5iZiI6MTc5NTI0NzcxMywicGF0aCI6Ii8xMjQ4NzM5Mi80NzM2MTIxNjItYmM4MTA4MWYtOTQyNC00Njg1LTk2ZTEtOTZiMDk3MmE3ZTE0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTIxVDA3NTUxM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk4ZjRkNjQ5YTZkMTgzOTRlMTNmYTkzYzQ4ZDhlMDExMzlmZjk0M2Q0Y2YwYjhlOTNiM2VjOGZkNGFlZTFjMGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.UCrU6SC_t0E524aMLYKzv-ZjTLMyYSZS3zU-CiZw10k
emilyklhttps://github.com/emilykl
Grouped Stacked Bar Chart - offsetgroup not being respected #5100https://github.com/plotly/plotly.py/issues/5100
on Sep 2, 2026https://github.com/plotly/plotly.py/issues/5007#event-30431673193
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.py/issues/5007
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.py/issues/5007
P2considered for next cyclehttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22P2%22
bugsomething brokenhttps://github.com/plotly/plotly.py/issues?q=state%3Aopen%20label%3A%22bug%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.