René's URL Explorer Experiment


Title: Using `group` + `color` produces incorrect plot · Issue #418 · plotly/plotly.R · GitHub

Open Graph Title: Using `group` + `color` produces incorrect plot · Issue #418 · plotly/plotly.R

X Title: Using `group` + `color` produces incorrect plot · Issue #418 · plotly/plotly.R

Description: plotly incorrectly draws lines scatter (and scatter3d) plots. Consider the following minimal example: df = data.frame(x=c(1,2,3,4,5,6), y=c(1,1,2,2,3,3), t=c("A","A","B","B","A","A")) plot_ly(df, type="scatter", x=x, y=y, color=t, group=...

Open Graph Description: plotly incorrectly draws lines scatter (and scatter3d) plots. Consider the following minimal example: df = data.frame(x=c(1,2,3,4,5,6), y=c(1,1,2,2,3,3), t=c("A","A","B","B","A","A")) plot_ly(df, t...

X Description: plotly incorrectly draws lines scatter (and scatter3d) plots. Consider the following minimal example: df = data.frame(x=c(1,2,3,4,5,6), y=c(1,1,2,2,3,3), t=c("A","A","B&quo...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Using `group` + `color` produces incorrect plot","articleBody":"`plotly` incorrectly draws lines `scatter` (and `scatter3d`) plots.\n\nConsider the following minimal example:\n\n``` R\ndf = data.frame(x=c(1,2,3,4,5,6),\n           y=c(1,1,2,2,3,3),\n           t=c(\"A\",\"A\",\"B\",\"B\",\"A\",\"A\"))\n\nplot_ly(df, type=\"scatter\", x=x, y=y, color=t, group=y, mode=\"lines\")\n```\n\nThe output is:\n![image](https://cloud.githubusercontent.com/assets/348591/12484986/08bd8212-c05d-11e5-9d3c-61b560a47bef.png)\n\nIn the correct plots only the horizontal segments colored according to `t` column are expected; also no `1`,`2`,`3` entries in the legend, `A` and `B` sorted either alphabetically or by their appearance in the data frame.\n","author":{"url":"https://github.com/alyst","@type":"Person","name":"alyst"},"datePublished":"2016-01-21T15:40:13Z","url":"https://github.com/plotly/plotly.R/issues/418"}

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:d164585d-eca0-8b95-a1f0-aee5de0d8625
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id964A:33444D:1332E92:198DAF9:6B0126CE
html-safe-noncef74c4fe9dace665d975070067d7023b25bb2dc50bbbf4fefb0b3e347f8023262
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjRBOjMzNDQ0RDoxMzMyRTkyOjE5OERBRjk6NkIwMTI2Q0UiLCJ2aXNpdG9yX2lkIjoiNjM0ODczMTA4NzE5OTQ3OTUwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8df11ffba8177c43451aa8535a25e9b71f661b0530afa9b9080734d9f8dd2616
hovercard-subject-tagissue:127952399
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/418/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5f7ec93bed22c3ebfc5780de19155be91f502a38f3b8ccbabd2f9e54a69c5db7/plotly/plotly.R/issues/418
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5f7ec93bed22c3ebfc5780de19155be91f502a38f3b8ccbabd2f9e54a69c5db7/plotly/plotly.R/issues/418
og:image:altplotly incorrectly draws lines scatter (and scatter3d) plots. Consider the following minimal example: df = data.frame(x=c(1,2,3,4,5,6), y=c(1,1,2,2,3,3), t=c("A","A","B","B","A","A")) plot_ly(df, t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealyst
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-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/plotly/plotly.R/issues/418#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.R%2Fissues%2F418
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%2F418
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/418
Reloadhttps://github.com/plotly/plotly.R/issues/418
Reloadhttps://github.com/plotly/plotly.R/issues/418
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/418
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.R/issues/418
Using group + color produces incorrect plothttps://github.com/plotly/plotly.R/issues/418#top
https://github.com/alyst
alysthttps://github.com/alyst
on Jan 21, 2016https://github.com/plotly/plotly.R/issues/418#issue-127952399
https://cloud.githubusercontent.com/assets/348591/12484986/08bd8212-c05d-11e5-9d3c-61b560a47bef.png
cpsieverthttps://github.com/cpsievert
on Jan 21, 2016https://github.com/plotly/plotly.R/issues/418#event-521851920
https://github.com/cpsievert
cpsieverthttps://github.com/cpsievert
on Jan 21, 2016https://github.com/plotly/plotly.R/issues/418#issuecomment-173618519
#381https://github.com/plotly/plotly.R/issues/381
https://github.com/alyst
alysthttps://github.com/alyst
on Jan 21, 2016https://github.com/plotly/plotly.R/issues/418#issuecomment-173619874
@cpsieverthttps://github.com/cpsievert
#381https://github.com/plotly/plotly.R/issues/381
alysthttps://github.com/alyst
on Feb 22, 2016https://github.com/plotly/plotly.R/issues/418#event-560052449
fix traces subdivision (fixes plotly#418)https://github.com/alyst/plotly/commit/39643ebb6221570cb9679e8892f8fbe58f262862
plotly#418https://github.com/plotly/plotly.R/issues/418
https://docs.github.com/articles/closing-issues-via-commit-messages
39643ebhttps://github.com/alyst/plotly/commit/39643ebb6221570cb9679e8892f8fbe58f262862
fix traces subdivision (fixes plotly#418)https://github.com/alyst/plotly/commit/c1f52df621fa48223adaf7577de12ab88e365888
plotly#418https://github.com/plotly/plotly.R/issues/418
https://docs.github.com/articles/closing-issues-via-commit-messages
c1f52dfhttps://github.com/alyst/plotly/commit/c1f52df621fa48223adaf7577de12ab88e365888
fix traces subdivision (fixes plotly#418)https://github.com/alyst/plotly/commit/015e19717c7ae668e0c3abc796bcb5a498a90546
plotly#418https://github.com/plotly/plotly.R/issues/418
https://docs.github.com/articles/closing-issues-via-commit-messages
015e197https://github.com/alyst/plotly/commit/015e19717c7ae668e0c3abc796bcb5a498a90546
alysthttps://github.com/alyst
on May 18, 2016https://github.com/plotly/plotly.R/issues/418#event-665090432
refactor traces (fixes plotly#418)https://github.com/alyst/plotly/commit/e9ebd179b3f145c3c1f6cb105905a8cad17b7189
plotly#418https://github.com/plotly/plotly.R/issues/418
https://docs.github.com/articles/closing-issues-via-commit-messages
e9ebd17https://github.com/alyst/plotly/commit/e9ebd179b3f145c3c1f6cb105905a8cad17b7189
refactor traces (fixes plotly#418)https://github.com/alyst/plotly/commit/f33bb539d199b590bdc5ae2f54e4280c3a803741
plotly#418https://github.com/plotly/plotly.R/issues/418
https://docs.github.com/articles/closing-issues-via-commit-messages
f33bb53https://github.com/alyst/plotly/commit/f33bb539d199b590bdc5ae2f54e4280c3a803741
refactor traces (fixes plotly#418)https://github.com/alyst/plotly/commit/33b206cfbc4906c48dbf029e826f28fc9aebecef
plotly#418https://github.com/plotly/plotly.R/issues/418
https://docs.github.com/articles/closing-issues-via-commit-messages
33b206chttps://github.com/alyst/plotly/commit/33b206cfbc4906c48dbf029e826f28fc9aebecef
refactor traces (fixes plotly#418)https://github.com/alyst/plotly/commit/e2c5dfe4ae468b2afc0a1241613831df188fe878
plotly#418https://github.com/plotly/plotly.R/issues/418
https://docs.github.com/articles/closing-issues-via-commit-messages
e2c5dfehttps://github.com/alyst/plotly/commit/e2c5dfe4ae468b2afc0a1241613831df188fe878
refactor traces (fixes plotly#418)https://github.com/alyst/plotly/commit/da66b99557cfb94e2d3da2712506e08fe39ec3e3
plotly#418https://github.com/plotly/plotly.R/issues/418
https://docs.github.com/articles/closing-issues-via-commit-messages
da66b99https://github.com/alyst/plotly/commit/da66b99557cfb94e2d3da2712506e08fe39ec3e3
alysthttps://github.com/alyst
on May 28, 2016https://github.com/plotly/plotly.R/issues/418#event-675273830
refactor traces (fixes plotly#418)https://github.com/alyst/plotly/commit/e2686bc157a32528b635bf8e3b93caac3a2dde9e
plotly#418https://github.com/plotly/plotly.R/issues/418
https://docs.github.com/articles/closing-issues-via-commit-messages
e2686bchttps://github.com/alyst/plotly/commit/e2686bc157a32528b635bf8e3b93caac3a2dde9e
refactor traces (fixes plotly#418)https://github.com/alyst/plotly/commit/cbb65a16581bac01e332c1d4300f5cddace5f684
plotly#418https://github.com/plotly/plotly.R/issues/418
https://docs.github.com/articles/closing-issues-via-commit-messages
cbb65a1https://github.com/alyst/plotly/commit/cbb65a16581bac01e332c1d4300f5cddace5f684
refactor traces (fixes plotly#418)https://github.com/alyst/plotly/commit/50f515c26ef0e929860270c2dfe089a7c8b4e651
plotly#418https://github.com/plotly/plotly.R/issues/418
https://docs.github.com/articles/closing-issues-via-commit-messages
50f515chttps://github.com/alyst/plotly/commit/50f515c26ef0e929860270c2dfe089a7c8b4e651
refactor traces (fixes plotly#418)https://github.com/alyst/plotly/commit/7ca33c9bb5e7c7eee1cae9f23b730452c8025003
plotly#418https://github.com/plotly/plotly.R/issues/418
https://docs.github.com/articles/closing-issues-via-commit-messages
7ca33c9https://github.com/alyst/plotly/commit/7ca33c9bb5e7c7eee1cae9f23b730452c8025003
https://github.com/cpsievert
cpsieverthttps://github.com/cpsievert
on Jul 14, 2016https://github.com/plotly/plotly.R/issues/418#issuecomment-232726807
d2bf2a1https://github.com/plotly/plotly.R/commit/d2bf2a1eb56d824a091e2cc9afea09a5968dd050
cpsieverthttps://github.com/cpsievert
completedhttps://github.com/plotly/plotly.R/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jul 14, 2016https://github.com/plotly/plotly.R/issues/418#event-723284187
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.R/issues/418
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.R/issues/418
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.