{"action":"created","issue":{"url":"https://api.github.com/repos/fsolt/dotwhisker/issues/85","repository_url":"https://api.github.com/repos/fsolt/dotwhisker","labels_url":"https://api.github.com/repos/fsolt/dotwhisker/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/fsolt/dotwhisker/issues/85/comments","events_url":"https://api.github.com/repos/fsolt/dotwhisker/issues/85/events","html_url":"https://github.com/fsolt/dotwhisker/issues/85","id":337828804,"node_id":"MDU6SXNzdWUzMzc4Mjg4MDQ=","number":85,"title":"ordering doesn't work with more than one regression","user":{"login":"chr1swallace","id":2189544,"node_id":"MDQ6VXNlcjIxODk1NDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2189544?v=4","gravatar_id":"","url":"https://api.github.com/users/chr1swallace","html_url":"https://github.com/chr1swallace","followers_url":"https://api.github.com/users/chr1swallace/followers","following_url":"https://api.github.com/users/chr1swallace/following{/other_user}","gists_url":"https://api.github.com/users/chr1swallace/gists{/gist_id}","starred_url":"https://api.github.com/users/chr1swallace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chr1swallace/subscriptions","organizations_url":"https://api.github.com/users/chr1swallace/orgs","repos_url":"https://api.github.com/users/chr1swallace/repos","events_url":"https://api.github.com/users/chr1swallace/events{/privacy}","received_events_url":"https://api.github.com/users/chr1swallace/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-03T10:01:04Z","updated_at":"2018-07-03T12:50:54Z","closed_at":null,"author_association":"NONE","body":"If I use order_vars with a list of regressions, only the first gets plotted.  I think that's because in this line in dwplot, match() selects the first match https://github.com/fsolt/dotwhisker/blob/2f5fa24235662baf34e4173ab41e9eaee029d5e2/R/dwplot.R#L132\r\n\r\nI think this is fixed by replacing the line with \r\n```\r\ndf <- df[order(df$term),]\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/fsolt/dotwhisker/issues/comments/402145346","html_url":"https://github.com/fsolt/dotwhisker/issues/85#issuecomment-402145346","issue_url":"https://api.github.com/repos/fsolt/dotwhisker/issues/85","id":402145346,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjE0NTM0Ng==","user":{"login":"chr1swallace","id":2189544,"node_id":"MDQ6VXNlcjIxODk1NDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2189544?v=4","gravatar_id":"","url":"https://api.github.com/users/chr1swallace","html_url":"https://github.com/chr1swallace","followers_url":"https://api.github.com/users/chr1swallace/followers","following_url":"https://api.github.com/users/chr1swallace/following{/other_user}","gists_url":"https://api.github.com/users/chr1swallace/gists{/gist_id}","starred_url":"https://api.github.com/users/chr1swallace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chr1swallace/subscriptions","organizations_url":"https://api.github.com/users/chr1swallace/orgs","repos_url":"https://api.github.com/users/chr1swallace/repos","events_url":"https://api.github.com/users/chr1swallace/events{/privacy}","received_events_url":"https://api.github.com/users/chr1swallace/received_events","type":"User","site_admin":false},"created_at":"2018-07-03T12:50:54Z","updated_at":"2018-07-03T12:50:54Z","author_association":"NONE","body":"Thanks for checking!  With https://github.com/chr1swallace/dotwhisker seems fixed:\r\n\r\n![image](https://user-images.githubusercontent.com/2189544/42220799-faf8ced0-7ec7-11e8-8ffa-dea0d512e636.png)\r\n"}}
{"actor":{"display_login":"chr1swallace"}}