René's URL Explorer Experiment


Title: ggplotly doesn't respect legend.position from theme() · Issue #2187 · plotly/plotly.R · GitHub

Open Graph Title: ggplotly doesn't respect legend.position from theme() · Issue #2187 · plotly/plotly.R

X Title: ggplotly doesn't respect legend.position from theme() · Issue #2187 · plotly/plotly.R

Description: The legend position for plots produced with ggplotly() doesn't reflect the position specified in ggplot, e.g. theme(legend.positon="bottom"). on 2022-09-22 this issue is visible on the plotly docs site entry for Change the legend positio...

Open Graph Description: The legend position for plots produced with ggplotly() doesn't reflect the position specified in ggplot, e.g. theme(legend.positon="bottom"). on 2022-09-22 this issue is visible on the plotly docs ...

X Description: The legend position for plots produced with ggplotly() doesn't reflect the position specified in ggplot, e.g. theme(legend.positon="bottom"). on 2022-09-22 this issue is visible on th...

Opengraph URL: https://github.com/plotly/plotly.R/issues/2187

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ggplotly doesn't respect legend.position from theme()","articleBody":"The legend position for plots produced with `ggplotly()` doesn't reflect the position specified in ggplot, e.g.  `theme(legend.positon=\"bottom\")`.\r\n\r\non 2022-09-22 this issue is visible on the plotly docs site entry for [Change the legend position](https://plotly.com/ggplot2/legend/#change-the-legend-position) \r\n\r\n![image](https://user-images.githubusercontent.com/45015314/191795439-c36b7fdd-3dbb-4757-bc08-26c35aac6850.png)\r\n\r\n\r\n```r\r\nlibrary(plotly)\r\nlibrary(ggplot2)\r\n\r\nToothGrowth$dose \u003c- as.factor(ToothGrowth$dose)\r\n\r\np \u003c- ggplot(ToothGrowth, aes(x=dose, y=len, fill=dose)) + \r\n  geom_boxplot()\r\n\r\np + theme(legend.position=\"bottom\")\r\n\r\nggplotly(p)\r\n```\r\n","author":{"url":"https://github.com/mcaselli","@type":"Person","name":"mcaselli"},"datePublished":"2022-09-22T15:59:03Z","url":"https://github.com/plotly/plotly.R/issues/2187"}

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:c9102626-ff1d-975d-e44f-7d6fd6332f57
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id92B4:14700E:1E29FA0:2637161:6B0160C2
html-safe-nonce4fabedc79a81def4524fb59285a36fbfcd055de8538e750d923d02de14461642
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkI0OjE0NzAwRToxRTI5RkEwOjI2MzcxNjE6NkIwMTYwQzIiLCJ2aXNpdG9yX2lkIjoiNDY1MzMwNjA2NTc5NzA3OTIzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac34b4a974867f2016a7fa3bf486a97c52cf979ec5dea3dc9a4677f9f632682ca4
hovercard-subject-tagissue:1382680035
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.R/2187/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2f1032b9b005f29665b53bce72ad8a718917f80360fbcd28a33a054c09e0b19a/plotly/plotly.R/issues/2187
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2f1032b9b005f29665b53bce72ad8a718917f80360fbcd28a33a054c09e0b19a/plotly/plotly.R/issues/2187
og:image:altThe legend position for plots produced with ggplotly() doesn't reflect the position specified in ggplot, e.g. theme(legend.positon="bottom"). on 2022-09-22 this issue is visible on the plotly docs ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemcaselli
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/plotly/plotly.R git https://github.com/plotly/plotly.R.git
octolytics-dimension-user_id5997976
octolytics-dimension-user_loginplotly
octolytics-dimension-repository_id14579179
octolytics-dimension-repository_nwoplotly/plotly.R
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id14579179
octolytics-dimension-repository_network_root_nwoplotly/plotly.R
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.R/issues/2187#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.R%2Fissues%2F2187
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.R%2Fissues%2F2187
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.R
Reloadhttps://github.com/plotly/plotly.R/issues/2187
Reloadhttps://github.com/plotly/plotly.R/issues/2187
Reloadhttps://github.com/plotly/plotly.R/issues/2187
plotlyhttps://github.com/plotly
plotly.Rhttps://github.com/plotly/plotly.R
Codehttps://github.com/plotly/plotly.R
Issues716 (716)https://github.com/plotly/plotly.R/issues
Pull requests47 (47)https://github.com/plotly/plotly.R/pulls
Discussionshttps://github.com/plotly/plotly.R/discussions
Actionshttps://github.com/plotly/plotly.R/actions
Projectshttps://github.com/plotly/plotly.R/projects
Wikihttps://github.com/plotly/plotly.R/wiki
Security and qualityhttps://github.com/plotly/plotly.R/security
Insightshttps://github.com/plotly/plotly.R/insights
https://github.com/plotly/plotly.R
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.R/issues/2187
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.R/issues/2187
#2469https://github.com/plotly/plotly.R/pull/2469
ggplotly doesn't respect legend.position from theme()https://github.com/plotly/plotly.R/issues/2187#top
#2469https://github.com/plotly/plotly.R/pull/2469
https://github.com/mcaselli
mcasellihttps://github.com/mcaselli
on Sep 22, 2022https://github.com/plotly/plotly.R/issues/2187#issue-1382680035
Change the legend positionhttps://plotly.com/ggplot2/legend/#change-the-legend-position
https://user-images.githubusercontent.com/45015314/191795439-c36b7fdd-3dbb-4757-bc08-26c35aac6850.png
cpsieverthttps://github.com/cpsievert
on Jan 19, 2026https://github.com/plotly/plotly.R/issues/2187#event-22145539956
Fix #2407, #2187: legend.position theme element now translated to plo…https://github.com/plotly/plotly.R/commit/89f9241f0c6e1cbd9011fe159332aa8258a7bb75
#2407https://github.com/plotly/plotly.R/issues/2407
#2187https://github.com/plotly/plotly.R/issues/2187
89f9241https://github.com/plotly/plotly.R/commit/89f9241f0c6e1cbd9011fe159332aa8258a7bb75
Fix #2407, #2187: legend.position theme element now translatedhttps://github.com/plotly/plotly.R/commit/aa51964753506999dcbe80353508afbf881f667b
#2407https://github.com/plotly/plotly.R/issues/2407
#2187https://github.com/plotly/plotly.R/issues/2187
aa51964https://github.com/plotly/plotly.R/commit/aa51964753506999dcbe80353508afbf881f667b
Fix #2407, #2187: legend.position theme element now translatedhttps://github.com/plotly/plotly.R/commit/e970a83fca3508033d5dfc20afb2215eded27919
#2407https://github.com/plotly/plotly.R/issues/2407
#2187https://github.com/plotly/plotly.R/issues/2187
e970a83https://github.com/plotly/plotly.R/commit/e970a83fca3508033d5dfc20afb2215eded27919
Fix multiple ggplotly() regressions (#2469)https://github.com/plotly/plotly.R/commit/386506dad0a5dcf0b919800d87e0a18be43dd666
#2469https://github.com/plotly/plotly.R/pull/2469
386506dhttps://github.com/plotly/plotly.R/commit/386506dad0a5dcf0b919800d87e0a18be43dd666
cpsieverthttps://github.com/cpsievert
completedhttps://github.com/plotly/plotly.R/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#2469https://github.com/plotly/plotly.R/pull/2469
on Jan 20, 2026https://github.com/plotly/plotly.R/issues/2187#event-22149793373
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.R/issues/2187
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.R/issues/2187
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.