{"action":"created","issue":{"url":"https://api.github.com/repos/fsolt/dotwhisker/issues/11","labels_url":"https://api.github.com/repos/fsolt/dotwhisker/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/fsolt/dotwhisker/issues/11/comments","events_url":"https://api.github.com/repos/fsolt/dotwhisker/issues/11/events","html_url":"https://github.com/fsolt/dotwhisker/issues/11","id":95348519,"number":11,"title":"add_bracket should calculate xloc rather than take it as an argument","user":{"login":"fsolt","id":6536645,"avatar_url":"https://avatars.githubusercontent.com/u/6536645?v=3","gravatar_id":"","url":"https://api.github.com/users/fsolt","html_url":"https://github.com/fsolt","followers_url":"https://api.github.com/users/fsolt/followers","following_url":"https://api.github.com/users/fsolt/following{/other_user}","gists_url":"https://api.github.com/users/fsolt/gists{/gist_id}","starred_url":"https://api.github.com/users/fsolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsolt/subscriptions","organizations_url":"https://api.github.com/users/fsolt/orgs","repos_url":"https://api.github.com/users/fsolt/repos","events_url":"https://api.github.com/users/fsolt/events{/privacy}","received_events_url":"https://api.github.com/users/fsolt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fsolt/dotwhisker/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"fsolt","id":6536645,"avatar_url":"https://avatars.githubusercontent.com/u/6536645?v=3","gravatar_id":"","url":"https://api.github.com/users/fsolt","html_url":"https://github.com/fsolt","followers_url":"https://api.github.com/users/fsolt/followers","following_url":"https://api.github.com/users/fsolt/following{/other_user}","gists_url":"https://api.github.com/users/fsolt/gists{/gist_id}","starred_url":"https://api.github.com/users/fsolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsolt/subscriptions","organizations_url":"https://api.github.com/users/fsolt/orgs","repos_url":"https://api.github.com/users/fsolt/repos","events_url":"https://api.github.com/users/fsolt/events{/privacy}","received_events_url":"https://api.github.com/users/fsolt/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-07-16T04:36:32Z","updated_at":"2015-07-23T13:45:02Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/fsolt/dotwhisker/issues/comments/124107863","html_url":"https://github.com/fsolt/dotwhisker/issues/11#issuecomment-124107863","issue_url":"https://api.github.com/repos/fsolt/dotwhisker/issues/11","id":124107863,"user":{"login":"sammo3182","id":6463211,"avatar_url":"https://avatars.githubusercontent.com/u/6463211?v=3","gravatar_id":"","url":"https://api.github.com/users/sammo3182","html_url":"https://github.com/sammo3182","followers_url":"https://api.github.com/users/sammo3182/followers","following_url":"https://api.github.com/users/sammo3182/following{/other_user}","gists_url":"https://api.github.com/users/sammo3182/gists{/gist_id}","starred_url":"https://api.github.com/users/sammo3182/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammo3182/subscriptions","organizations_url":"https://api.github.com/users/sammo3182/orgs","repos_url":"https://api.github.com/users/sammo3182/repos","events_url":"https://api.github.com/users/sammo3182/events{/privacy}","received_events_url":"https://api.github.com/users/sammo3182/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T13:45:02Z","updated_at":"2015-07-23T13:45:02Z","body":"Just tried the new add_bracket function. It works excellent and is easy to manipulate! A following issue is that it seems can only add one bracket to a dotplot. I tried to produce a parallel plot (Kastellec & Leoni 2007, 767), but it turns error when adding an additional bracket:\r\n`Error in p + theme(plot.margin = unit(c(1, 1, 1, -1), \"lines\")) + ylab(\"\") : \r\n  non-numeric argument to binary operator\r\nIn addition: Warning message:\r\nIn max(pd$y_ind) : no non-missing arguments to max; returning -Inf`"}}