{"action":"created","issue":{"url":"https://api.github.com/repos/hadley/ggplot2/issues/1675","repository_url":"https://api.github.com/repos/hadley/ggplot2","labels_url":"https://api.github.com/repos/hadley/ggplot2/issues/1675/labels{/name}","comments_url":"https://api.github.com/repos/hadley/ggplot2/issues/1675/comments","events_url":"https://api.github.com/repos/hadley/ggplot2/issues/1675/events","html_url":"https://github.com/hadley/ggplot2/issues/1675","id":166844329,"number":1675,"title":"Fill in ggplot2 is always red, regardless of what colour is actually specified.","user":{"login":"a-hurst","id":18648066,"avatar_url":"https://avatars.githubusercontent.com/u/18648066?v=3","gravatar_id":"","url":"https://api.github.com/users/a-hurst","html_url":"https://github.com/a-hurst","followers_url":"https://api.github.com/users/a-hurst/followers","following_url":"https://api.github.com/users/a-hurst/following{/other_user}","gists_url":"https://api.github.com/users/a-hurst/gists{/gist_id}","starred_url":"https://api.github.com/users/a-hurst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-hurst/subscriptions","organizations_url":"https://api.github.com/users/a-hurst/orgs","repos_url":"https://api.github.com/users/a-hurst/repos","events_url":"https://api.github.com/users/a-hurst/events{/privacy}","received_events_url":"https://api.github.com/users/a-hurst/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-21T15:12:14Z","updated_at":"2016-07-21T17:22:27Z","closed_at":"2016-07-21T17:22:27Z","body":"For whatever reason, whenever I try to specify a fill colour for a violin plot it always renders as a pastel red, regardless of what I tell it. Here is some simple code that reproduces the bug for me in a fresh R session:\r\n\r\n```\r\nlibrary(ggplot2)\r\n\r\nblah <- rnorm(2000, 3, 1.5)\r\nblah2 <- rep(\"test\", times=2000)\r\ndf = data.frame(a = blah2, b = blah)\r\nggplot(data = df) + geom_violin(aes(x = a, y = b, fill=\"grey80\"))\r\n\r\n```\r\nRunning this code gives me this:\r\n\r\n![screen shot 2016-07-21 at 11 21 27 am](https://cloud.githubusercontent.com/assets/18648066/17026167/939112c0-4f35-11e6-8b9f-480cba62ef2f.png)\r\n\r\nThis happens no matter which fill colour I specify. When I don't specify a fill, the fill defaults to white as expected:\r\n\r\n![screen shot 2016-07-21 at 11 23 31 am](https://cloud.githubusercontent.com/assets/18648066/17027811/cf1abe8a-4f3b-11e6-9a73-c4dc266df029.png)\r\n\r\nThis happens with the official CRAN binary in the R GUI.app as well as with R 3.3.1 installed from Homebrew. I also did a fresh install of ggplot2 on a fresh install of R when I generated the above graphs. Any ideas what's going on?\r\n\r\nPlatform info:\r\n\r\n```\r\nR version 3.3.1 (2016-06-21) -- \"Bug in Your Hair\"\r\nCopyright (C) 2016 The R Foundation for Statistical Computing\r\nPlatform: x86_64-apple-darwin13.4.0 (64-bit)\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/hadley/ggplot2/issues/comments/234322967","html_url":"https://github.com/hadley/ggplot2/issues/1675#issuecomment-234322967","issue_url":"https://api.github.com/repos/hadley/ggplot2/issues/1675","id":234322967,"user":{"login":"a-hurst","id":18648066,"avatar_url":"https://avatars.githubusercontent.com/u/18648066?v=3","gravatar_id":"","url":"https://api.github.com/users/a-hurst","html_url":"https://github.com/a-hurst","followers_url":"https://api.github.com/users/a-hurst/followers","following_url":"https://api.github.com/users/a-hurst/following{/other_user}","gists_url":"https://api.github.com/users/a-hurst/gists{/gist_id}","starred_url":"https://api.github.com/users/a-hurst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a-hurst/subscriptions","organizations_url":"https://api.github.com/users/a-hurst/orgs","repos_url":"https://api.github.com/users/a-hurst/repos","events_url":"https://api.github.com/users/a-hurst/events{/privacy}","received_events_url":"https://api.github.com/users/a-hurst/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T17:22:27Z","updated_at":"2016-07-21T17:22:27Z","body":"Ah, that makes perfect sense. Thanks again for your help!"}}
{"actor":{"display_login":"a-hurst"}}