{"action":"created","issue":{"url":"https://api.github.com/repos/hadley/ggplot2/issues/1871","repository_url":"https://api.github.com/repos/hadley/ggplot2","labels_url":"https://api.github.com/repos/hadley/ggplot2/issues/1871/labels{/name}","comments_url":"https://api.github.com/repos/hadley/ggplot2/issues/1871/comments","events_url":"https://api.github.com/repos/hadley/ggplot2/issues/1871/events","html_url":"https://github.com/hadley/ggplot2/issues/1871","id":184875444,"number":1871,"title":"Legends have lost spacing","user":{"login":"hadley","id":4196,"avatar_url":"https://avatars.githubusercontent.com/u/4196?v=3","gravatar_id":"","url":"https://api.github.com/users/hadley","html_url":"https://github.com/hadley","followers_url":"https://api.github.com/users/hadley/followers","following_url":"https://api.github.com/users/hadley/following{/other_user}","gists_url":"https://api.github.com/users/hadley/gists{/gist_id}","starred_url":"https://api.github.com/users/hadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadley/subscriptions","organizations_url":"https://api.github.com/users/hadley/orgs","repos_url":"https://api.github.com/users/hadley/repos","events_url":"https://api.github.com/users/hadley/events{/privacy}","received_events_url":"https://api.github.com/users/hadley/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hadley/ggplot2/labels/bug","name":"bug","color":"e02a2a"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/hadley/ggplot2/milestones/15","html_url":"https://github.com/hadley/ggplot2/milestones/v2.2.0","labels_url":"https://api.github.com/repos/hadley/ggplot2/milestones/15/labels","id":1909550,"number":15,"title":"v2.2.0","description":"","creator":{"login":"hadley","id":4196,"avatar_url":"https://avatars.githubusercontent.com/u/4196?v=3","gravatar_id":"","url":"https://api.github.com/users/hadley","html_url":"https://github.com/hadley","followers_url":"https://api.github.com/users/hadley/followers","following_url":"https://api.github.com/users/hadley/following{/other_user}","gists_url":"https://api.github.com/users/hadley/gists{/gist_id}","starred_url":"https://api.github.com/users/hadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadley/subscriptions","organizations_url":"https://api.github.com/users/hadley/orgs","repos_url":"https://api.github.com/users/hadley/repos","events_url":"https://api.github.com/users/hadley/events{/privacy}","received_events_url":"https://api.github.com/users/hadley/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":65,"state":"open","created_at":"2016-07-28T13:50:42Z","updated_at":"2016-10-24T15:33:07Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-10-24T15:33:07Z","updated_at":"2016-10-24T15:33:56Z","closed_at":null,"body":"```R\r\ndat <- data.frame(x = LETTERS[1:3], y = 1)\r\np2 <- ggplot(dat, aes(x, y, fill = x, colour = 1:3)) +\r\n  geom_bar(stat = \"identity\") +\r\n  guides(color = \"colorbar\") +\r\n  theme(legend.background = element_rect(colour = \"black\"))\r\np2 + theme(legend.position = c(.5, .5))\r\n```"},"comment":{"url":"https://api.github.com/repos/hadley/ggplot2/issues/comments/255775819","html_url":"https://github.com/hadley/ggplot2/issues/1871#issuecomment-255775819","issue_url":"https://api.github.com/repos/hadley/ggplot2/issues/1871","id":255775819,"user":{"login":"hadley","id":4196,"avatar_url":"https://avatars.githubusercontent.com/u/4196?v=3","gravatar_id":"","url":"https://api.github.com/users/hadley","html_url":"https://github.com/hadley","followers_url":"https://api.github.com/users/hadley/followers","following_url":"https://api.github.com/users/hadley/following{/other_user}","gists_url":"https://api.github.com/users/hadley/gists{/gist_id}","starred_url":"https://api.github.com/users/hadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadley/subscriptions","organizations_url":"https://api.github.com/users/hadley/orgs","repos_url":"https://api.github.com/users/hadley/repos","events_url":"https://api.github.com/users/hadley/events{/privacy}","received_events_url":"https://api.github.com/users/hadley/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T15:33:56Z","updated_at":"2016-10-24T15:33:56Z","body":"@thomasp85 do you remember what might've caused this? It's the spacing between the an individual legend and its border."}}
{"actor":{"display_login":"hadley"}}