René's URL Explorer Experiment


Title: Grouped Stacked Bar Chart - offsetgroup not being respected · Issue #5100 · plotly/plotly.py · GitHub

Open Graph Title: Grouped Stacked Bar Chart - offsetgroup not being respected · Issue #5100 · plotly/plotly.py

X Title: Grouped Stacked Bar Chart - offsetgroup not being respected · Issue #5100 · plotly/plotly.py

Description: Hello, I was trying to make a grouped stack bar chart with plotly 6.0.0 and 6.0.1 and both fail to respect offsetgroup. Running the example in the documentation does not yield the documentation's result. import plotly.graph_objects as go...

Open Graph Description: Hello, I was trying to make a grouped stack bar chart with plotly 6.0.0 and 6.0.1 and both fail to respect offsetgroup. Running the example in the documentation does not yield the documentation's r...

X Description: Hello, I was trying to make a grouped stack bar chart with plotly 6.0.0 and 6.0.1 and both fail to respect offsetgroup. Running the example in the documentation does not yield the documentation'...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Grouped Stacked Bar Chart - offsetgroup not being respected","articleBody":"Hello, I was trying to make a grouped stack bar chart with plotly 6.0.0 and 6.0.1 and both fail to respect offsetgroup. Running the example in the documentation does not yield the documentation's result. \n\n```python\nimport plotly.graph_objects as go\n\ndata = [\n    go.Bar(\n        x=['Q1', 'Q2', 'Q3', 'Q4'],\n        y=[150, 200, 250, 300],\n        name='New York',\n        offsetgroup=\"USA\"\n    ),\n    go.Bar(\n        x=['Q1', 'Q2', 'Q3', 'Q4'],\n        y=[180, 220, 270, 320],\n        name='Boston',\n        offsetgroup=\"USA\"\n    ),\n    go.Bar(\n        x=['Q1', 'Q2', 'Q3', 'Q4'],\n        y=[130, 170, 210, 260],\n        name='Montreal',\n        offsetgroup=\"Canada\"\n    ),\n    go.Bar(\n        x=['Q1', 'Q2', 'Q3', 'Q4'],\n        y=[160, 210, 260, 310],\n        name='Toronto',\n        offsetgroup=\"Canada\"\n    )\n]\n\nlayout = go.Layout(\n    title={\n        'text': 'Quarterly Sales by City, Grouped by Country'\n    },\n    xaxis={\n        'title': {\n            'text': 'Quarter'\n        }\n    },\n    yaxis={\n        'title': {\n            'text': 'Sales'\n        }\n    },\n    barmode='stack'\n)\n\nfig = go.Figure(data=data, layout=layout)\n\nfig.show()\n```\nOutput:\n![Image](https://github.com/user-attachments/assets/cbd84103-7b4b-423b-90e1-5cb617572e3b)\n\nExpected Output:\n![Image](https://github.com/user-attachments/assets/ffe09d65-4f81-4798-950f-47c5a409189b)\n\nIt looks like they are using different plotly.js versions but I can not find out how to update the plotly.js version to v3 with the python package","author":{"url":"https://github.com/Mad-Mint","@type":"Person","name":"Mad-Mint"},"datePublished":"2025-03-19T02:03:10Z","url":"https://github.com/plotly/plotly.py/issues/5100"}

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:9d58ed35-1b3b-57a1-6b0b-4aa896289011
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE828:22DB35:1E0D4A3:265E20E:6B01514D
html-safe-noncefa0ce6648fb52d1c142d177430a1d063c52b929b9845fe7c3778290101a9ca0e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODI4OjIyREIzNToxRTBENEEzOjI2NUUyMEU6NkIwMTUxNEQiLCJ2aXNpdG9yX2lkIjoiNTg2NjExNjYzNzMyOTAxOTIxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac16f10e4645ea057f9061e27c22d341f76beb78ac903023602301dd4a6cffe625
hovercard-subject-tagissue:2930241994
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/5100/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3569bda5faf19b60aa9029d18ddee7762e7db615523286e42378c8dce9a583c1/plotly/plotly.py/issues/5100
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3569bda5faf19b60aa9029d18ddee7762e7db615523286e42378c8dce9a583c1/plotly/plotly.py/issues/5100
og:image:altHello, I was trying to make a grouped stack bar chart with plotly 6.0.0 and 6.0.1 and both fail to respect offsetgroup. Running the example in the documentation does not yield the documentation's r...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMad-Mint
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/5100#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.py%2Fissues%2F5100
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%2F5100
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/5100
Reloadhttps://github.com/plotly/plotly.py/issues/5100
Reloadhttps://github.com/plotly/plotly.py/issues/5100
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/5100
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.py/issues/5100
Grouped Stacked Bar Chart - offsetgroup not being respectedhttps://github.com/plotly/plotly.py/issues/5100#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/Mad-Mint
Mad-Minthttps://github.com/Mad-Mint
on Mar 19, 2025https://github.com/plotly/plotly.py/issues/5100#issue-2930241994
https://private-user-images.githubusercontent.com/83076181/424260073-cbd84103-7b4b-423b-90e1-5cb617572e3b.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250Z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RmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTIxVDA4MDc0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE1YzkxMzNlMGMyZTUzN2UxOTA4YWMwM2ZjYTdlZjk2MTc1MDIzODA5NWNkM2ZlNmNiYWZlZDZmMWIxZDRlYmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.Zvsa9_fJ1p6wHGZsAdazMTg_aWVNhG6qb-oG920i_gc
https://github.com/gvwilson
gvwilsonhttps://github.com/gvwilson
on Mar 19, 2025https://github.com/plotly/plotly.py/issues/5100#issuecomment-2737707931
@Mad-Minthttps://github.com/Mad-Mint
https://community.plotly.com/https://community.plotly.com/
@gvwilsonhttps://github.com/gvwilson
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 Mar 19, 2025https://github.com/plotly/plotly.py/issues/5100#event-16875873568
https://github.com/pSpitzner
pSpitznerhttps://github.com/pSpitzner
on Apr 24, 2025https://github.com/plotly/plotly.py/issues/5100#issuecomment-2827471247
For 6.0.1 that is 3.0.1https://github.com/plotly/plotly.py/releases/tag/v6.0.1
Jupyter Notebook Renderershttps://marketplace.visualstudio.com/items/?itemName=ms-toolsai.jupyter-renderers
https://github.com/hafeja
hafejahttps://github.com/hafeja
on May 6, 2025https://github.com/plotly/plotly.py/issues/5100#issuecomment-2854536971
https://github.com/emilykl
emilyklhttps://github.com/emilykl
on Sep 2, 2026https://github.com/plotly/plotly.py/issues/5100#issuecomment-5513257938
#5007https://github.com/plotly/plotly.py/issues/5007
emilyklhttps://github.com/emilykl
duplicatehttps://github.com/plotly/plotly.py/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Aduplicate
offsetgroup with horizontally stacked/relative bar traces #5007https://github.com/plotly/plotly.py/issues/5007
on Sep 2, 2026https://github.com/plotly/plotly.py/issues/5100#event-30431673302
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.py/issues/5100
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.py/issues/5100
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.