{"action":"created","issue":{"url":"https://api.github.com/repos/africanmathsinitiative/Instat/issues/1940","repository_url":"https://api.github.com/repos/africanmathsinitiative/Instat","labels_url":"https://api.github.com/repos/africanmathsinitiative/Instat/issues/1940/labels{/name}","comments_url":"https://api.github.com/repos/africanmathsinitiative/Instat/issues/1940/comments","events_url":"https://api.github.com/repos/africanmathsinitiative/Instat/issues/1940/events","html_url":"https://github.com/africanmathsinitiative/Instat/issues/1940","id":185076387,"number":1940,"title":"Boxplots - bugs and suggestions","user":{"login":"rdstern","id":11226469,"avatar_url":"https://avatars.githubusercontent.com/u/11226469?v=3","gravatar_id":"","url":"https://api.github.com/users/rdstern","html_url":"https://github.com/rdstern","followers_url":"https://api.github.com/users/rdstern/followers","following_url":"https://api.github.com/users/rdstern/following{/other_user}","gists_url":"https://api.github.com/users/rdstern/gists{/gist_id}","starred_url":"https://api.github.com/users/rdstern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdstern/subscriptions","organizations_url":"https://api.github.com/users/rdstern/orgs","repos_url":"https://api.github.com/users/rdstern/repos","events_url":"https://api.github.com/users/rdstern/events{/privacy}","received_events_url":"https://api.github.com/users/rdstern/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/africanmathsinitiative/Instat/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"maxwellfundi","id":9798689,"avatar_url":"https://avatars.githubusercontent.com/u/9798689?v=3","gravatar_id":"","url":"https://api.github.com/users/maxwellfundi","html_url":"https://github.com/maxwellfundi","followers_url":"https://api.github.com/users/maxwellfundi/followers","following_url":"https://api.github.com/users/maxwellfundi/following{/other_user}","gists_url":"https://api.github.com/users/maxwellfundi/gists{/gist_id}","starred_url":"https://api.github.com/users/maxwellfundi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxwellfundi/subscriptions","organizations_url":"https://api.github.com/users/maxwellfundi/orgs","repos_url":"https://api.github.com/users/maxwellfundi/repos","events_url":"https://api.github.com/users/maxwellfundi/events{/privacy}","received_events_url":"https://api.github.com/users/maxwellfundi/received_events","type":"User","site_admin":false},"assignees":[{"login":"maxwellfundi","id":9798689,"avatar_url":"https://avatars.githubusercontent.com/u/9798689?v=3","gravatar_id":"","url":"https://api.github.com/users/maxwellfundi","html_url":"https://github.com/maxwellfundi","followers_url":"https://api.github.com/users/maxwellfundi/followers","following_url":"https://api.github.com/users/maxwellfundi/following{/other_user}","gists_url":"https://api.github.com/users/maxwellfundi/gists{/gist_id}","starred_url":"https://api.github.com/users/maxwellfundi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxwellfundi/subscriptions","organizations_url":"https://api.github.com/users/maxwellfundi/orgs","repos_url":"https://api.github.com/users/maxwellfundi/repos","events_url":"https://api.github.com/users/maxwellfundi/events{/privacy}","received_events_url":"https://api.github.com/users/maxwellfundi/received_events","type":"User","site_admin":false},{"login":"FrancoisJRenaud","id":22272110,"avatar_url":"https://avatars.githubusercontent.com/u/22272110?v=3","gravatar_id":"","url":"https://api.github.com/users/FrancoisJRenaud","html_url":"https://github.com/FrancoisJRenaud","followers_url":"https://api.github.com/users/FrancoisJRenaud/followers","following_url":"https://api.github.com/users/FrancoisJRenaud/following{/other_user}","gists_url":"https://api.github.com/users/FrancoisJRenaud/gists{/gist_id}","starred_url":"https://api.github.com/users/FrancoisJRenaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrancoisJRenaud/subscriptions","organizations_url":"https://api.github.com/users/FrancoisJRenaud/orgs","repos_url":"https://api.github.com/users/FrancoisJRenaud/repos","events_url":"https://api.github.com/users/FrancoisJRenaud/events{/privacy}","received_events_url":"https://api.github.com/users/FrancoisJRenaud/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-10-25T10:21:33Z","updated_at":"2016-10-25T12:42:43Z","closed_at":null,"body":"This has come from our work with the Lesotho team.  First this message is on boxplots, which has thrown up some possibly general issues on the graphics at the same time:\r\n\r\nFirst is that we hit 3 problems with the boxplots.\r\n\r\nThey are when you use multiple variables. We were constructing boxplots for both maxtemp and mintemp together. We wanted the x to be the factor called years.\r\n\r\n1. This isn't currently possible. It makes the x-variable into the variables, and the years is the second factor. It would be good to be able to switch them round. Perhaps a checkbox is the simplest way?\r\n\r\n2. When we added facets as months it crashes.\r\n\r\n3. So I used the stacked data instead, where mintemp and maxtemp are in the same column. Now I first filtered out the rain variable. Then I did the boxplot. It ignored my filter. (Boxplots doesn't always ignore filters, but I think there could be a problem when a complete level is ignored.)  But see point 3 below.\r\n\r\nNow some further points:\r\n\r\n1. We managed to make the width of the boxplots proportional to the number of observations - which is very useful.  But we needed to go to **Boxplot Options**, then change the tab, and then click on the **varwidth** option.  Then it opens a pull-down box with just True/False which isn't needed.  When we check then it is true! \r\n2.  But this brings a more general point.  When we are doing boxplots there will be some options that we would often like.  Could they go on the main dialogue - as well?  This is one of them.  A second could be the coord-flip for horizontal boxplots.\r\n3.  On a positive note I have been trying the boxplots with more filtering options and they work well.  I am a bit confused on what has been happening in point 3 above.\r\n4.  I would very much like to be able to locate points (possibly just outliers) or interactively on the boxplots.  Interactive is a big step.  But I wonder about adding information from another column to the outliers, or even labelling with the exact value.  In stack overflow here is an answer, but it seems a bit complicated: http://stackoverflow.com/questions/33524669/labeling-outliers-of-boxplots-in-r \r\nMaybe http://rrubyperlundich.blogspot.co.uk/2015/07/1-label-outlier-in-ggplot2-boxplot.html \r\nis better?\r\n\r\nRoger"},"comment":{"url":"https://api.github.com/repos/africanmathsinitiative/Instat/issues/comments/256023752","html_url":"https://github.com/africanmathsinitiative/Instat/issues/1940#issuecomment-256023752","issue_url":"https://api.github.com/repos/africanmathsinitiative/Instat/issues/1940","id":256023752,"user":{"login":"maxwellfundi","id":9798689,"avatar_url":"https://avatars.githubusercontent.com/u/9798689?v=3","gravatar_id":"","url":"https://api.github.com/users/maxwellfundi","html_url":"https://github.com/maxwellfundi","followers_url":"https://api.github.com/users/maxwellfundi/followers","following_url":"https://api.github.com/users/maxwellfundi/following{/other_user}","gists_url":"https://api.github.com/users/maxwellfundi/gists{/gist_id}","starred_url":"https://api.github.com/users/maxwellfundi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxwellfundi/subscriptions","organizations_url":"https://api.github.com/users/maxwellfundi/orgs","repos_url":"https://api.github.com/users/maxwellfundi/repos","events_url":"https://api.github.com/users/maxwellfundi/events{/privacy}","received_events_url":"https://api.github.com/users/maxwellfundi/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T12:42:42Z","updated_at":"2016-10-25T12:42:42Z","body":"@rdstern  great, we will look at this . Could you please send us the data you used. It might be quite helpful to test what you were doing\r\n"}}
{"actor":{"display_login":"maxwellfundi"}}