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
Domain: github.com
{"@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\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-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d164585d-eca0-8b95-a1f0-aee5de0d8625 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 964A:33444D:1332E92:198DAF9:6B0126CE |
| html-safe-nonce | f74c4fe9dace665d975070067d7023b25bb2dc50bbbf4fefb0b3e347f8023262 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjRBOjMzNDQ0RDoxMzMyRTkyOjE5OERBRjk6NkIwMTI2Q0UiLCJ2aXNpdG9yX2lkIjoiNjM0ODczMTA4NzE5OTQ3OTUwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8df11ffba8177c43451aa8535a25e9b71f661b0530afa9b9080734d9f8dd2616 |
| hovercard-subject-tag | issue:127952399 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.R/418/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5f7ec93bed22c3ebfc5780de19155be91f502a38f3b8ccbabd2f9e54a69c5db7/plotly/plotly.R/issues/418 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5f7ec93bed22c3ebfc5780de19155be91f502a38f3b8ccbabd2f9e54a69c5db7/plotly/plotly.R/issues/418 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alyst |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.R git https://github.com/plotly/plotly.R.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 14579179 |
| octolytics-dimension-repository_nwo | plotly/plotly.R |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14579179 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.R |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width