{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaPlots/StatPlots.jl/issues/192","repository_url":"https://api.github.com/repos/JuliaPlots/StatPlots.jl","labels_url":"https://api.github.com/repos/JuliaPlots/StatPlots.jl/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/JuliaPlots/StatPlots.jl/issues/192/comments","events_url":"https://api.github.com/repos/JuliaPlots/StatPlots.jl/issues/192/events","html_url":"https://github.com/JuliaPlots/StatPlots.jl/pull/192","id":368777472,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxODc2MzMz","number":192,"title":"[WIP] Grouped box- and violin plots","user":{"login":"kescobo","id":3502975,"node_id":"MDQ6VXNlcjM1MDI5NzU=","avatar_url":"https://avatars0.githubusercontent.com/u/3502975?v=4","gravatar_id":"","url":"https://api.github.com/users/kescobo","html_url":"https://github.com/kescobo","followers_url":"https://api.github.com/users/kescobo/followers","following_url":"https://api.github.com/users/kescobo/following{/other_user}","gists_url":"https://api.github.com/users/kescobo/gists{/gist_id}","starred_url":"https://api.github.com/users/kescobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kescobo/subscriptions","organizations_url":"https://api.github.com/users/kescobo/orgs","repos_url":"https://api.github.com/users/kescobo/repos","events_url":"https://api.github.com/users/kescobo/events{/privacy}","received_events_url":"https://api.github.com/users/kescobo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2018-10-10T17:44:25Z","updated_at":"2018-10-22T15:08:23Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/JuliaPlots/StatPlots.jl/pulls/192","html_url":"https://github.com/JuliaPlots/StatPlots.jl/pull/192","diff_url":"https://github.com/JuliaPlots/StatPlots.jl/pull/192.diff","patch_url":"https://github.com/JuliaPlots/StatPlots.jl/pull/192.patch"},"body":"Goal to address #145 . Testing with:\r\n\r\n```\r\nusing Random\r\nusing DataFrames\r\nusing StatPlots\r\n\r\ndf = DataFrame(x=repeat([1,2,3],4), y=rand(12), g=vcat(fill(\"a\", 6), fill(\"b\", 6))\r\n    )\r\n\r\n@df df groupedbar(:x, :y, group=:g)\r\n```\r\n![screen shot 2018-10-11 at 14 23 45](https://user-images.githubusercontent.com/3502975/46825313-55cfbe80-cd61-11e8-9256-9b89a3651e0a.png)\r\n\r\n```\r\n@df df boxplot(:x, :y, group=:g)\r\n```\r\n![screen shot 2018-10-11 at 14 24 38](https://user-images.githubusercontent.com/3502975/46825351-6a13bb80-cd61-11e8-9f84-5e5161cff026.png)\r\n\r\n\r\n```\r\n@df df violin(:x, :y, group=:g)\r\n```\r\n![screen shot 2018-10-11 at 14 25 04](https://user-images.githubusercontent.com/3502975/46825368-78fa6e00-cd61-11e8-8afa-eb2364aff56e.png)\r\n\r\nEDIT: this also addresses #56 and #89"},"comment":{"url":"https://api.github.com/repos/JuliaPlots/StatPlots.jl/issues/comments/431863066","html_url":"https://github.com/JuliaPlots/StatPlots.jl/pull/192#issuecomment-431863066","issue_url":"https://api.github.com/repos/JuliaPlots/StatPlots.jl/issues/192","id":431863066,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTg2MzA2Ng==","user":{"login":"kescobo","id":3502975,"node_id":"MDQ6VXNlcjM1MDI5NzU=","avatar_url":"https://avatars0.githubusercontent.com/u/3502975?v=4","gravatar_id":"","url":"https://api.github.com/users/kescobo","html_url":"https://github.com/kescobo","followers_url":"https://api.github.com/users/kescobo/followers","following_url":"https://api.github.com/users/kescobo/following{/other_user}","gists_url":"https://api.github.com/users/kescobo/gists{/gist_id}","starred_url":"https://api.github.com/users/kescobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kescobo/subscriptions","organizations_url":"https://api.github.com/users/kescobo/orgs","repos_url":"https://api.github.com/users/kescobo/repos","events_url":"https://api.github.com/users/kescobo/events{/privacy}","received_events_url":"https://api.github.com/users/kescobo/received_events","type":"User","site_admin":false},"created_at":"2018-10-22T15:08:23Z","updated_at":"2018-10-22T15:08:23Z","author_association":"NONE","body":">how do you get a space between the boxes in a group? To me it looks weird that they touch.\r\n\r\nWe could hardcode something ([as I did here](https://github.com/JuliaPlots/StatPlots.jl/pull/192#discussion_r225282294)), but I'm not sure what keyword would make sense to specify this. At the moment, the bars in `groupedbar` are touching, so that's how I coded it. \r\n\r\nFWIW - that's how it works in `ggplot2` as well: https://www.r-graph-gallery.com/265-grouped-boxplot-with-ggplot2/"}}
{"actor":{"display_login":"kescobo"}}