René's URL Explorer Experiment


Title: Annotations for grouped bar charts · Issue #356 · plotly/plotly.py · GitHub

Open Graph Title: Annotations for grouped bar charts · Issue #356 · plotly/plotly.py

X Title: Annotations for grouped bar charts · Issue #356 · plotly/plotly.py

Description: I was trying to create annotations for grouped bar charts - where each bar has a specific data label. An example is as follows: https://plot.ly/~ashish.baghudana/49.embed However, as you see the data labels are not centered individually,...

Open Graph Description: I was trying to create annotations for grouped bar charts - where each bar has a specific data label. An example is as follows: https://plot.ly/~ashish.baghudana/49.embed However, as you see the da...

X Description: I was trying to create annotations for grouped bar charts - where each bar has a specific data label. An example is as follows: https://plot.ly/~ashish.baghudana/49.embed However, as you see the da...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Annotations for grouped bar charts","articleBody":"I was trying to create annotations for grouped bar charts - where each bar has a specific data label.\n\nAn example is as follows: https://plot.ly/~ashish.baghudana/49.embed\n![Example Image](https://plot.ly/~ashish.baghudana/49.png)\n\nHowever, as you see the data labels are not centered individually, but overall. I was wondering if there is a workaround to this, rather than annotating manually.\n\nAppreciate the help!\n\nThe code itself is a simple modification of the examples in tutorial.\n\n``` python\nimport plotly.plotly as py\nimport plotly.graph_objs as go\n\nx = ['Product A', 'Product B', 'Product C']\ny1 = [20, 14, 23]\ny2 = [12, 18, 29]\n\nannotations1 = [dict(\n            x=xi,\n            y=yi,\n            text=str(yi),\n            xanchor='auto',\n            yanchor='bottom',\n            showarrow=False,\n        ) for xi, yi in zip(x, y1)]\nannotations2 = [dict(\n            x=xi,\n            y=yi,\n            text=str(yi),\n            xanchor='auto',\n            yanchor='bottom',\n            showarrow=False,\n        ) for xi, yi in zip(x, y2)]\nannotations = annotations1 + annotations2\n\ntrace1 = go.Bar(\n    x=x,\n    y=y1,\n    name='SF Zoo'\n)\ntrace2 = go.Bar(\n    x=x,\n    y=y2,\n    name='LA Zoo'\n)\ndata = [trace1, trace2]\nlayout = go.Layout(\n    barmode='group',\n    annotations=annotations\n)\nfig = go.Figure(data=data, layout=layout)\nplot_url = py.plot(fig, filename='stacked-bar')\n```\n","author":{"url":"https://github.com/ashishbaghudana","@type":"Person","name":"ashishbaghudana"},"datePublished":"2015-11-23T14:08:47Z","url":"https://github.com/plotly/plotly.py/issues/356"}

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:4df83a01-5d65-d1d0-0b50-12b95b0fe2ec
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id81C2:38E318:1BC1362:230A463:6B018E6E
html-safe-nonce9054ca80262904648e699a21769afdc1c5669a18067895abc84334bb25464fbd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUMyOjM4RTMxODoxQkMxMzYyOjIzMEE0NjM6NkIwMThFNkUiLCJ2aXNpdG9yX2lkIjoiMjEwMTUxMTA5NzI0Nzk2MDY4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2aea8dbab250837f03e30c7a82264d5c0487af65bf0c194ddd7bc726f73d5670
hovercard-subject-tagissue:118386533
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/356/issue_layout
twitter:imagehttps://opengraph.githubassets.com/90d99526625832f612c85f2e550d91676ab198e1e13da9a36b8df045110ed51d/plotly/plotly.py/issues/356
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/90d99526625832f612c85f2e550d91676ab198e1e13da9a36b8df045110ed51d/plotly/plotly.py/issues/356
og:image:altI was trying to create annotations for grouped bar charts - where each bar has a specific data label. An example is as follows: https://plot.ly/~ashish.baghudana/49.embed However, as you see the da...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameashishbaghudana
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/356#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.py%2Fissues%2F356
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%2F356
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/356
Reloadhttps://github.com/plotly/plotly.py/issues/356
Reloadhttps://github.com/plotly/plotly.py/issues/356
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/356
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.py/issues/356
Annotations for grouped bar chartshttps://github.com/plotly/plotly.py/issues/356#top
https://github.com/ashishbaghudana
ashishbaghudanahttps://github.com/ashishbaghudana
on Nov 23, 2015https://github.com/plotly/plotly.py/issues/356#issue-118386533
https://plot.ly/~ashish.baghudana/49.embedhttps://plot.ly/~ashish.baghudana/49.embed
https://camo.githubusercontent.com/297bdaef7ddbfe5c27ace25d92c712b0e7fe8a4d5ca5859ded7437204ff6a3d3/68747470733a2f2f706c6f742e6c792f7e6173686973682e626167687564616e612f34392e706e67
https://github.com/chriddyp
chriddyphttps://github.com/chriddyp
on Nov 24, 2015https://github.com/plotly/plotly.py/issues/356#issuecomment-159345862
@ashishbaghudanahttps://github.com/ashishbaghudana
plotly.js repohttps://github.com/plotly/plotly.js/issues/new
chriddyphttps://github.com/chriddyp
completedhttps://github.com/plotly/plotly.py/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 24, 2015https://github.com/plotly/plotly.py/issues/356#event-473554318
https://github.com/aleburato
aleburatohttps://github.com/aleburato
on Jul 28, 2016https://github.com/plotly/plotly.py/issues/356#issuecomment-235890265
https://cloud.githubusercontent.com/assets/17029400/17213839/7496ab68-54d6-11e6-9ba2-305303a414cc.png
https://github.com/tarunparmar
tarunparmarhttps://github.com/tarunparmar
on Aug 8, 2017https://github.com/plotly/plotly.py/issues/356#issuecomment-321020331
https://github.com/salim-b
salim-bhttps://github.com/salim-b
on Nov 22, 2018https://github.com/plotly/plotly.py/issues/356#issuecomment-440999880
textpositionhttps://plot.ly/r/reference/#bar-textposition
https://github.com/GeorgeFlorian
GeorgeFlorianhttps://github.com/GeorgeFlorian
on Mar 29, 2023https://github.com/plotly/plotly.py/issues/356#issuecomment-1488681419
textpositionhttps://plot.ly/r/reference/#bar-textposition
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.py/issues/356
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.py/issues/356
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.