Title: geom_point with fill and colour gives warning and fills wrongly the values · Issue #2298 · plotly/plotly.R · GitHub
Open Graph Title: geom_point with fill and colour gives warning and fills wrongly the values · Issue #2298 · plotly/plotly.R
X Title: geom_point with fill and colour gives warning and fills wrongly the values · Issue #2298 · plotly/plotly.R
Description: The following code does not give a green and a red dot in plotly, but it does in ggplot2. The ggplot2 behaviour is correct. library(plotly) df <- data.frame(x = c(1,2), y = c(0,0), color = rep("yellow", 2), fill = 1:2) p <- ggplot(df) + ...
Open Graph Description: The following code does not give a green and a red dot in plotly, but it does in ggplot2. The ggplot2 behaviour is correct. library(plotly) df <- data.frame(x = c(1,2), y = c(0,0), color = rep("yel...
X Description: The following code does not give a green and a red dot in plotly, but it does in ggplot2. The ggplot2 behaviour is correct. library(plotly) df <- data.frame(x = c(1,2), y = c(0,0), color = rep(&...
Opengraph URL: https://github.com/plotly/plotly.R/issues/2298
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"geom_point with fill and colour gives warning and fills wrongly the values ","articleBody":"The following code does not give a green and a red dot in plotly, but it does in ggplot2. The ggplot2 behaviour is correct.\r\n\r\n```r\r\nlibrary(plotly)\r\n df \u003c- data.frame(x = c(1,2), y = c(0,0), color = rep(\"yellow\", 2), fill = 1:2)\r\n p \u003c- ggplot(df) +\r\n geom_point(aes(x = x, y = y, fill = fill, color = color), size = 5, shape = 21) +\r\n scale_fill_gradient(low = \"green\", high = \"red\")\r\nggplotly(p)\r\n```\r\n\r\nPR on its way","author":{"url":"https://github.com/zeehio","@type":"Person","name":"zeehio"},"datePublished":"2023-10-05T08:59:56Z","url":"https://github.com/plotly/plotly.R/issues/2298"}
| 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:5fb53b3c-c162-97a2-5581-1028ed29841e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AE52:A71F9:55CB61:6B7A05:6B010EEB |
| html-safe-nonce | 75243704eeba1cff6b22192ead5a91baa20c8ac0c587ba7f40a429d23d762fd0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTUyOkE3MUY5OjU1Q0I2MTo2QjdBMDU6NkIwMTBFRUIiLCJ2aXNpdG9yX2lkIjoiNjY2Mjg1NDE3MTkxMTMyNzQ2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b3da95169fd738a97a82c3ec852bfe6f63309340d81c9d99857942d6064937ef |
| hovercard-subject-tag | issue:1927754310 |
| 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/2298/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c8e325dd6f51ccba2a5d9213d5796523580276d6c6be5a50369397f6b76c23b0/plotly/plotly.R/issues/2298 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c8e325dd6f51ccba2a5d9213d5796523580276d6c6be5a50369397f6b76c23b0/plotly/plotly.R/issues/2298 |
| og:image:alt | The following code does not give a green and a red dot in plotly, but it does in ggplot2. The ggplot2 behaviour is correct. library(plotly) df <- data.frame(x = c(1,2), y = c(0,0), color = rep("yel... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zeehio |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| 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 | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width