{"action":"created","comment":{"url":"https://api.github.com/repos/hadley/ggplot2/pulls/comments/77838937","id":77838937,"diff_hunk":"@@ -93,7 +93,10 @@ theme_grey <- function(base_size = 11, base_family = \"\") {\n                          ),\n \n     legend.background =  element_rect(colour = NA),\n-    legend.margin =      unit(0.2, \"cm\"),\n+    legend.spacing =     unit(0.4, \"cm\"),\n+    legend.hspacing =    NULL,","path":"R/theme-defaults.r","position":6,"original_position":6,"commit_id":"2eb86e9a32f522b9aad9ffa71f5302c2aee280c0","original_commit_id":"2eb86e9a32f522b9aad9ffa71f5302c2aee280c0","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},"body":"Shouldn't that be `legend.spacing.x` and `legend.spacing.y`?","created_at":"2016-09-07T14:56:31Z","updated_at":"2016-09-07T14:56:31Z","html_url":"https://github.com/hadley/ggplot2/pull/1725#discussion_r77838937","pull_request_url":"https://api.github.com/repos/hadley/ggplot2/pulls/1725","_links":{"self":{"href":"https://api.github.com/repos/hadley/ggplot2/pulls/comments/77838937"},"html":{"href":"https://github.com/hadley/ggplot2/pull/1725#discussion_r77838937"},"pull_request":{"href":"https://api.github.com/repos/hadley/ggplot2/pulls/1725"}}},"pull_request":{"url":"https://api.github.com/repos/hadley/ggplot2/pulls/1725","id":82322608,"html_url":"https://github.com/hadley/ggplot2/pull/1725","diff_url":"https://github.com/hadley/ggplot2/pull/1725.diff","patch_url":"https://github.com/hadley/ggplot2/pull/1725.patch","issue_url":"https://api.github.com/repos/hadley/ggplot2/issues/1725","number":1725,"state":"open","locked":false,"title":"Alternative implementation for justification of legends","user":{"login":"thomasp85","id":1775316,"avatar_url":"https://avatars.githubusercontent.com/u/1775316?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasp85","html_url":"https://github.com/thomasp85","followers_url":"https://api.github.com/users/thomasp85/followers","following_url":"https://api.github.com/users/thomasp85/following{/other_user}","gists_url":"https://api.github.com/users/thomasp85/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasp85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasp85/subscriptions","organizations_url":"https://api.github.com/users/thomasp85/orgs","repos_url":"https://api.github.com/users/thomasp85/repos","events_url":"https://api.github.com/users/thomasp85/events{/privacy}","received_events_url":"https://api.github.com/users/thomasp85/received_events","type":"User","site_admin":false},"body":"Fixes #1716. Alternative approach to #1724","created_at":"2016-08-23T08:27:07Z","updated_at":"2016-09-07T14:56:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"304450b971e0ae72c61a90ef065654241379d335","assignee":{"login":"thomasp85","id":1775316,"avatar_url":"https://avatars.githubusercontent.com/u/1775316?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasp85","html_url":"https://github.com/thomasp85","followers_url":"https://api.github.com/users/thomasp85/followers","following_url":"https://api.github.com/users/thomasp85/following{/other_user}","gists_url":"https://api.github.com/users/thomasp85/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasp85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasp85/subscriptions","organizations_url":"https://api.github.com/users/thomasp85/orgs","repos_url":"https://api.github.com/users/thomasp85/repos","events_url":"https://api.github.com/users/thomasp85/events{/privacy}","received_events_url":"https://api.github.com/users/thomasp85/received_events","type":"User","site_admin":false},"assignees":[{"login":"thomasp85","id":1775316,"avatar_url":"https://avatars.githubusercontent.com/u/1775316?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasp85","html_url":"https://github.com/thomasp85","followers_url":"https://api.github.com/users/thomasp85/followers","following_url":"https://api.github.com/users/thomasp85/following{/other_user}","gists_url":"https://api.github.com/users/thomasp85/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasp85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasp85/subscriptions","organizations_url":"https://api.github.com/users/thomasp85/orgs","repos_url":"https://api.github.com/users/thomasp85/repos","events_url":"https://api.github.com/users/thomasp85/events{/privacy}","received_events_url":"https://api.github.com/users/thomasp85/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/hadley/ggplot2/pulls/1725/commits","review_comments_url":"https://api.github.com/repos/hadley/ggplot2/pulls/1725/comments","review_comment_url":"https://api.github.com/repos/hadley/ggplot2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hadley/ggplot2/issues/1725/comments","statuses_url":"https://api.github.com/repos/hadley/ggplot2/statuses/2eb86e9a32f522b9aad9ffa71f5302c2aee280c0","head":{"label":"thomasp85:legend-just2","ref":"legend-just2","sha":"2eb86e9a32f522b9aad9ffa71f5302c2aee280c0","user":{"login":"thomasp85","id":1775316,"avatar_url":"https://avatars.githubusercontent.com/u/1775316?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasp85","html_url":"https://github.com/thomasp85","followers_url":"https://api.github.com/users/thomasp85/followers","following_url":"https://api.github.com/users/thomasp85/following{/other_user}","gists_url":"https://api.github.com/users/thomasp85/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasp85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasp85/subscriptions","organizations_url":"https://api.github.com/users/thomasp85/orgs","repos_url":"https://api.github.com/users/thomasp85/repos","events_url":"https://api.github.com/users/thomasp85/events{/privacy}","received_events_url":"https://api.github.com/users/thomasp85/received_events","type":"User","site_admin":false},"repo":{"id":49459917,"name":"ggplot2","full_name":"thomasp85/ggplot2","owner":{"login":"thomasp85","id":1775316,"avatar_url":"https://avatars.githubusercontent.com/u/1775316?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasp85","html_url":"https://github.com/thomasp85","followers_url":"https://api.github.com/users/thomasp85/followers","following_url":"https://api.github.com/users/thomasp85/following{/other_user}","gists_url":"https://api.github.com/users/thomasp85/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasp85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasp85/subscriptions","organizations_url":"https://api.github.com/users/thomasp85/orgs","repos_url":"https://api.github.com/users/thomasp85/repos","events_url":"https://api.github.com/users/thomasp85/events{/privacy}","received_events_url":"https://api.github.com/users/thomasp85/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thomasp85/ggplot2","description":"An implementation of the Grammar of Graphics in R","fork":true,"url":"https://api.github.com/repos/thomasp85/ggplot2","forks_url":"https://api.github.com/repos/thomasp85/ggplot2/forks","keys_url":"https://api.github.com/repos/thomasp85/ggplot2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thomasp85/ggplot2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thomasp85/ggplot2/teams","hooks_url":"https://api.github.com/repos/thomasp85/ggplot2/hooks","issue_events_url":"https://api.github.com/repos/thomasp85/ggplot2/issues/events{/number}","events_url":"https://api.github.com/repos/thomasp85/ggplot2/events","assignees_url":"https://api.github.com/repos/thomasp85/ggplot2/assignees{/user}","branches_url":"https://api.github.com/repos/thomasp85/ggplot2/branches{/branch}","tags_url":"https://api.github.com/repos/thomasp85/ggplot2/tags","blobs_url":"https://api.github.com/repos/thomasp85/ggplot2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thomasp85/ggplot2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thomasp85/ggplot2/git/refs{/sha}","trees_url":"https://api.github.com/repos/thomasp85/ggplot2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thomasp85/ggplot2/statuses/{sha}","languages_url":"https://api.github.com/repos/thomasp85/ggplot2/languages","stargazers_url":"https://api.github.com/repos/thomasp85/ggplot2/stargazers","contributors_url":"https://api.github.com/repos/thomasp85/ggplot2/contributors","subscribers_url":"https://api.github.com/repos/thomasp85/ggplot2/subscribers","subscription_url":"https://api.github.com/repos/thomasp85/ggplot2/subscription","commits_url":"https://api.github.com/repos/thomasp85/ggplot2/commits{/sha}","git_commits_url":"https://api.github.com/repos/thomasp85/ggplot2/git/commits{/sha}","comments_url":"https://api.github.com/repos/thomasp85/ggplot2/comments{/number}","issue_comment_url":"https://api.github.com/repos/thomasp85/ggplot2/issues/comments{/number}","contents_url":"https://api.github.com/repos/thomasp85/ggplot2/contents/{+path}","compare_url":"https://api.github.com/repos/thomasp85/ggplot2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thomasp85/ggplot2/merges","archive_url":"https://api.github.com/repos/thomasp85/ggplot2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thomasp85/ggplot2/downloads","issues_url":"https://api.github.com/repos/thomasp85/ggplot2/issues{/number}","pulls_url":"https://api.github.com/repos/thomasp85/ggplot2/pulls{/number}","milestones_url":"https://api.github.com/repos/thomasp85/ggplot2/milestones{/number}","notifications_url":"https://api.github.com/repos/thomasp85/ggplot2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thomasp85/ggplot2/labels{/name}","releases_url":"https://api.github.com/repos/thomasp85/ggplot2/releases{/id}","deployments_url":"https://api.github.com/repos/thomasp85/ggplot2/deployments","created_at":"2016-01-11T23:00:37Z","updated_at":"2016-01-11T23:00:38Z","pushed_at":"2016-09-07T14:46:40Z","git_url":"git://github.com/thomasp85/ggplot2.git","ssh_url":"git@github.com:thomasp85/ggplot2.git","clone_url":"https://github.com/thomasp85/ggplot2.git","svn_url":"https://github.com/thomasp85/ggplot2","homepage":"http://ggplot2.org","size":27814,"stargazers_count":0,"watchers_count":0,"language":"R","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"hadley:master","ref":"master","sha":"0da7d471e4144096731e5e37c9f299250c079ff9","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},"repo":{"id":19438,"name":"ggplot2","full_name":"hadley/ggplot2","owner":{"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},"private":false,"html_url":"https://github.com/hadley/ggplot2","description":"An implementation of the Grammar of Graphics in R","fork":false,"url":"https://api.github.com/repos/hadley/ggplot2","forks_url":"https://api.github.com/repos/hadley/ggplot2/forks","keys_url":"https://api.github.com/repos/hadley/ggplot2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hadley/ggplot2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hadley/ggplot2/teams","hooks_url":"https://api.github.com/repos/hadley/ggplot2/hooks","issue_events_url":"https://api.github.com/repos/hadley/ggplot2/issues/events{/number}","events_url":"https://api.github.com/repos/hadley/ggplot2/events","assignees_url":"https://api.github.com/repos/hadley/ggplot2/assignees{/user}","branches_url":"https://api.github.com/repos/hadley/ggplot2/branches{/branch}","tags_url":"https://api.github.com/repos/hadley/ggplot2/tags","blobs_url":"https://api.github.com/repos/hadley/ggplot2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hadley/ggplot2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hadley/ggplot2/git/refs{/sha}","trees_url":"https://api.github.com/repos/hadley/ggplot2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hadley/ggplot2/statuses/{sha}","languages_url":"https://api.github.com/repos/hadley/ggplot2/languages","stargazers_url":"https://api.github.com/repos/hadley/ggplot2/stargazers","contributors_url":"https://api.github.com/repos/hadley/ggplot2/contributors","subscribers_url":"https://api.github.com/repos/hadley/ggplot2/subscribers","subscription_url":"https://api.github.com/repos/hadley/ggplot2/subscription","commits_url":"https://api.github.com/repos/hadley/ggplot2/commits{/sha}","git_commits_url":"https://api.github.com/repos/hadley/ggplot2/git/commits{/sha}","comments_url":"https://api.github.com/repos/hadley/ggplot2/comments{/number}","issue_comment_url":"https://api.github.com/repos/hadley/ggplot2/issues/comments{/number}","contents_url":"https://api.github.com/repos/hadley/ggplot2/contents/{+path}","compare_url":"https://api.github.com/repos/hadley/ggplot2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hadley/ggplot2/merges","archive_url":"https://api.github.com/repos/hadley/ggplot2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hadley/ggplot2/downloads","issues_url":"https://api.github.com/repos/hadley/ggplot2/issues{/number}","pulls_url":"https://api.github.com/repos/hadley/ggplot2/pulls{/number}","milestones_url":"https://api.github.com/repos/hadley/ggplot2/milestones{/number}","notifications_url":"https://api.github.com/repos/hadley/ggplot2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hadley/ggplot2/labels{/name}","releases_url":"https://api.github.com/repos/hadley/ggplot2/releases{/id}","deployments_url":"https://api.github.com/repos/hadley/ggplot2/deployments","created_at":"2008-05-25T01:21:32Z","updated_at":"2016-09-07T11:52:57Z","pushed_at":"2016-09-07T14:46:41Z","git_url":"git://github.com/hadley/ggplot2.git","ssh_url":"git@github.com:hadley/ggplot2.git","clone_url":"https://github.com/hadley/ggplot2.git","svn_url":"https://github.com/hadley/ggplot2","homepage":"http://ggplot2.org","size":29948,"stargazers_count":1990,"watchers_count":1990,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":755,"mirror_url":null,"open_issues_count":56,"forks":755,"open_issues":56,"watchers":1990,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hadley/ggplot2/pulls/1725"},"html":{"href":"https://github.com/hadley/ggplot2/pull/1725"},"issue":{"href":"https://api.github.com/repos/hadley/ggplot2/issues/1725"},"comments":{"href":"https://api.github.com/repos/hadley/ggplot2/issues/1725/comments"},"review_comments":{"href":"https://api.github.com/repos/hadley/ggplot2/pulls/1725/comments"},"review_comment":{"href":"https://api.github.com/repos/hadley/ggplot2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hadley/ggplot2/pulls/1725/commits"},"statuses":{"href":"https://api.github.com/repos/hadley/ggplot2/statuses/2eb86e9a32f522b9aad9ffa71f5302c2aee280c0"}}}}
{"actor":{"display_login":"hadley"}}