René's URL Explorer Experiment


Title: legend positioning · Issue #195 · plotly/plotly.R · GitHub

Open Graph Title: legend positioning · Issue #195 · plotly/plotly.R

X Title: legend positioning · Issue #195 · plotly/plotly.R

Description: a lot of legends are coming out with weird positioning (#194 (comment)) a couple things to work out: move the horizontal position of the legend to the right more layout$legend$x <- 1.0 # move it to the right a bit layout$legend$xanchor <...

Open Graph Description: a lot of legends are coming out with weird positioning (#194 (comment)) a couple things to work out: move the horizontal position of the legend to the right more layout$legend$x <- 1.0 # move it to...

X Description: a lot of legends are coming out with weird positioning (#194 (comment)) a couple things to work out: move the horizontal position of the legend to the right more layout$legend$x <- 1.0 # move it...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"legend positioning","articleBody":"a lot of legends are coming out with weird positioning (https://github.com/ropensci/plotly/issues/194#issuecomment-87780687)\n![](https://cloud.githubusercontent.com/assets/5031825/6903360/c3bc5684-d6e7-11e4-9d08-604b10834926.png)\n\n a couple things to work out:\n- [x] move the horizontal position of the legend to the right more\n  \n  ```\n  layout$legend$x \u003c- 1.0 # move it to the right a bit\n  layout$legend$xanchor \u003c- \"left\" \n  layout$annotation[[1]]$x \u003c- 1.01\n  layout$annotation[[1]]$xanchor \u003c- \"left\"\n  ```\n- [x] the vertical position of the legend should stay in the middle, with `yanchor \u003c- \"middle\"`\n  \n  ```\n  layout$legend$y \u003c- 0.5 # page middle\n  layout$legend$yanchor \u003c- \"middle\" \n  ```\n  \n  but we should compute the vertical position of the legend title annotation to remain above the legend, no matter how many entries. For now, we could hardcode a mapping in that would work for default font-sizes:\n  - 8 legend entries: `annotation$y \u003c- 0.65` (from manual inspection)\n  - 1 legend entry: `annotation$y \u003c- 0.52` (manual inspection)\n  - -\u003e `annotation$y \u003c- 0.14125 * number_of_legend_items - 0.48` (computed from those two points above)\n  \n  @alexcjohnson, how do you think legend titles will work in the future? a separate attribute inside `legend`?\n- [ ] manual legend positions from ggplot: https://github.com/ropensci/plotly/blob/add-r-cookbook-tests/tests/cookbook-test-suite/legends.R#L109-L122\n\ncc @tdhock , @cpsievert \n","author":{"url":"https://github.com/chriddyp","@type":"Person","name":"chriddyp"},"datePublished":"2015-03-30T19:53:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/195/plotly.R/issues/195"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:bedd27a6-9e94-2cb6-e989-129d59102778
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD5EA:1DF241:89FDCAA:BAB0407:6A5E5892
html-safe-nonce85df180e0268df033f9404eec22dba5c2c087bfaa7bbe7e94d372e41b777d723
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUVBOjFERjI0MTo4OUZEQ0FBOkJBQjA0MDc6NkE1RTU4OTIiLCJ2aXNpdG9yX2lkIjoiOTAwMTExMTQ3NTM5MDkyOTA0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacda3e8598e2c51ae94f5f423fe8e5ea0ccdd65e490dd3359cbb0f62d9d8442b45
hovercard-subject-tagissue:65288229
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/195/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5f79baf89522d2756edaf5bffb25fb7489275da2c0e4d63158deb7d50e18d341/plotly/plotly.R/issues/195
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5f79baf89522d2756edaf5bffb25fb7489275da2c0e4d63158deb7d50e18d341/plotly/plotly.R/issues/195
og:image:alta lot of legends are coming out with weird positioning (#194 (comment)) a couple things to work out: move the horizontal position of the legend to the right more layout$legend$x <- 1.0 # move it to...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamechriddyp
hostnamegithub.com
expected-hostnamegithub.com
None4c92a536c69af79290536ba65c054743bf2747e6bf7150d78fe0e566af9ac459
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
releaseb8eaa813b53afacb4b93991504272e5396731873
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/plotly/plotly.R/issues/195#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.R%2Fissues%2F195
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.R%2Fissues%2F195
Sign up https://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/195
Reloadhttps://github.com/plotly/plotly.R/issues/195
Reloadhttps://github.com/plotly/plotly.R/issues/195
Please reload this pagehttps://github.com/plotly/plotly.R/issues/195
plotly https://github.com/plotly
plotly.Rhttps://github.com/plotly/plotly.R
Notifications https://github.com/login?return_to=%2Fplotly%2Fplotly.R
Fork 642 https://github.com/login?return_to=%2Fplotly%2Fplotly.R
Star 2.7k https://github.com/login?return_to=%2Fplotly%2Fplotly.R
Code https://github.com/plotly/plotly.R
Issues 712 https://github.com/plotly/plotly.R/issues
Pull requests 46 https://github.com/plotly/plotly.R/pulls
Discussions https://github.com/plotly/plotly.R/discussions
Actions https://github.com/plotly/plotly.R/actions
Projects https://github.com/plotly/plotly.R/projects
Wiki https://github.com/plotly/plotly.R/wiki
Security and quality 0 https://github.com/plotly/plotly.R/security
Insights https://github.com/plotly/plotly.R/pulse
Code https://github.com/plotly/plotly.R
Issues https://github.com/plotly/plotly.R/issues
Pull requests https://github.com/plotly/plotly.R/pulls
Discussions https://github.com/plotly/plotly.R/discussions
Actions https://github.com/plotly/plotly.R/actions
Projects https://github.com/plotly/plotly.R/projects
Wiki https://github.com/plotly/plotly.R/wiki
Security and quality https://github.com/plotly/plotly.R/security
Insights https://github.com/plotly/plotly.R/pulse
legend positioninghttps://github.com/plotly/plotly.R/issues/195#top
https://github.com/13bzhang
ggplotlyhttps://github.com/plotly/plotly.R/issues?q=state%3Aopen%20label%3A%22ggplotly%22
https://github.com/chriddyp
chriddyphttps://github.com/chriddyp
on Mar 30, 2015https://github.com/plotly/plotly.R/issues/195#issue-65288229
#194 (comment)https://github.com/plotly/plotly.R/issues/194#issuecomment-87780687
https://cloud.githubusercontent.com/assets/5031825/6903360/c3bc5684-d6e7-11e4-9d08-604b10834926.png
@alexcjohnsonhttps://github.com/alexcjohnson
https://github.com/ropensci/plotly/blob/add-r-cookbook-tests/tests/cookbook-test-suite/legends.R#L109-L122https://github.com/ropensci/plotly/blob/add-r-cookbook-tests/tests/cookbook-test-suite/legends.R#L109-L122
@tdhockhttps://github.com/tdhock
@cpsieverthttps://github.com/cpsievert
13bzhanghttps://github.com/13bzhang
ggplotlyhttps://github.com/plotly/plotly.R/issues?q=state%3Aopen%20label%3A%22ggplotly%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.