René's URL Explorer Experiment


Title: When using ggplotly() there can be duplication of legend items inconsistent with ggplot output · Issue #2043 · plotly/plotly.R · GitHub

Open Graph Title: When using ggplotly() there can be duplication of legend items inconsistent with ggplot output · Issue #2043 · plotly/plotly.R

X Title: When using ggplotly() there can be duplication of legend items inconsistent with ggplot output · Issue #2043 · plotly/plotly.R

Description: Thank you for this fantastic package -- I am amazed how well it works! When multiple geom_line() or geom_point() entries exist, the ggplotly() output can be different from the ggplot() output. What I've noticed is duplication of legend e...

Open Graph Description: Thank you for this fantastic package -- I am amazed how well it works! When multiple geom_line() or geom_point() entries exist, the ggplotly() output can be different from the ggplot() output. What...

X Description: Thank you for this fantastic package -- I am amazed how well it works! When multiple geom_line() or geom_point() entries exist, the ggplotly() output can be different from the ggplot() output. What...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"When using ggplotly() there can be duplication of legend items inconsistent with ggplot output","articleBody":"Thank you for this fantastic package -- I am amazed how well it works!\r\n\r\nWhen multiple `geom_line()` or `geom_point()` entries exist, the `ggplotly()` output can be different from the `ggplot()` output. What I've noticed is **duplication of legend entries** and sometimes ignoring of legend configuration options that ggplot provides.\r\n\r\nSeems possibly related to #572 & #2010 \r\n\r\n```r\r\ndf1 \u003c- data.frame(\r\n  \"Date\" = seq(as.Date(\"2021-01-01\"), as.Date(\"2021-01-10\"), \"days\"),\r\n  \"Series\" = c(rep(\"SeriesA\", 10), rep(\"SeriesB\",10)),\r\n  \"Values\" = rnorm(n = 20),\r\n  \"Mean\" = 0,\r\n  \"V1\" = 2,\r\n  \"V2\" = -2\r\n)\r\n\r\np \u003c- ggplot(df1, aes(x=Date, y=Values, color = Series, linetype = Series, shape = Series)) +\r\n  geom_line(aes(x = Date, y = Mean, color = \"Mean\", linetype = \"Mean\")) +\r\n  geom_line(aes(x = Date, y = V1, color = \"QC\", linetype = \"QC\")) +\r\n  geom_line(aes(x = Date, y = V2, color = \"QC\", linetype = \"QC\")) +\r\n  geom_line() + \r\n  geom_point() + \r\n  guides(shape=FALSE, linetype=FALSE)\r\n\r\nggplotly(p)\r\n```\r\n## ggplot() Output\r\n![image](https://user-images.githubusercontent.com/1633835/136833754-13b84010-ba1b-4a20-a2dc-f7ca2bb9e3e0.png)\r\n\r\n## ggplotly() Output\r\n![image](https://user-images.githubusercontent.com/1633835/136834031-15063597-ae85-4550-b6bf-82d5cbfbb3dc.png)\r\n\r\n\r\n","author":{"url":"https://github.com/wphampton","@type":"Person","name":"wphampton"},"datePublished":"2021-10-11T17:59:29Z","url":"https://github.com/plotly/plotly.R/issues/2043"}

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:3dafc7ca-6ea8-1ded-0815-9539d057c171
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAED4:3D97C8:D571F5:11DB236:6B01005F
html-safe-noncef9a283cd87d7ed993c41dd7f3d7b96d9d102b13d5d83c17d2b8d98cdb5d9eb6a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUQ0OjNEOTdDODpENTcxRjU6MTFEQjIzNjo2QjAxMDA1RiIsInZpc2l0b3JfaWQiOiI0ODQ4Mzc5MTYzOTM5MjQyMDc5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9d1a294f6b50f8ccd19c47b9a14b672f16f49a42cc78580dee2280ac07bebcb9
hovercard-subject-tagissue:1022976589
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/2043/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4dca4f887b74fb29394c912c8e5b3234191efa8ebd2ccbdf7d310a69c9da5047/plotly/plotly.R/issues/2043
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4dca4f887b74fb29394c912c8e5b3234191efa8ebd2ccbdf7d310a69c9da5047/plotly/plotly.R/issues/2043
og:image:altThank you for this fantastic package -- I am amazed how well it works! When multiple geom_line() or geom_point() entries exist, the ggplotly() output can be different from the ggplot() output. What...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewphampton
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
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
release2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/plotly/plotly.R/issues/2043#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.R%2Fissues%2F2043
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%2F2043
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/2043
Reloadhttps://github.com/plotly/plotly.R/issues/2043
Reloadhttps://github.com/plotly/plotly.R/issues/2043
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/2043
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.R/issues/2043
#2067https://github.com/plotly/plotly.R/pull/2067
When using ggplotly() there can be duplication of legend items inconsistent with ggplot outputhttps://github.com/plotly/plotly.R/issues/2043#top
#2067https://github.com/plotly/plotly.R/pull/2067
https://github.com/wphampton
wphamptonhttps://github.com/wphampton
on Oct 11, 2021https://github.com/plotly/plotly.R/issues/2043#issue-1022976589
#572https://github.com/plotly/plotly.R/issues/572
#2010https://github.com/plotly/plotly.R/issues/2010
https://user-images.githubusercontent.com/1633835/136833754-13b84010-ba1b-4a20-a2dc-f7ca2bb9e3e0.png
https://user-images.githubusercontent.com/1633835/136834031-15063597-ae85-4550-b6bf-82d5cbfbb3dc.png
https://github.com/moutikabdessabour
moutikabdessabourhttps://github.com/moutikabdessabour
on Oct 12, 2021https://github.com/plotly/plotly.R/issues/2043#issuecomment-941163588
#2007https://github.com/plotly/plotly.R/issues/2007
cpsieverthttps://github.com/cpsievert
on Nov 2, 2021https://github.com/plotly/plotly.R/issues/2043#event-5557232539
Close #2043: respect guide(aes = 'none') when constructing legend ent…https://github.com/plotly/plotly.R/commit/cc41d21d51bf1100915e0f156f786c0c775b50e2
#2043https://github.com/plotly/plotly.R/issues/2043
https://docs.github.com/articles/closing-issues-via-commit-messages
cc41d21https://github.com/plotly/plotly.R/commit/cc41d21d51bf1100915e0f156f786c0c775b50e2
cpsieverthttps://github.com/cpsievert
completedhttps://github.com/plotly/plotly.R/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#2067https://github.com/plotly/plotly.R/pull/2067
on Nov 2, 2021https://github.com/plotly/plotly.R/issues/2043#event-5557295624
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.R/issues/2043
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.R/issues/2043
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.