{"action":"created","issue":{"url":"https://api.github.com/repos/tidyverse/ggplot2/issues/2405","repository_url":"https://api.github.com/repos/tidyverse/ggplot2","labels_url":"https://api.github.com/repos/tidyverse/ggplot2/issues/2405/labels{/name}","comments_url":"https://api.github.com/repos/tidyverse/ggplot2/issues/2405/comments","events_url":"https://api.github.com/repos/tidyverse/ggplot2/issues/2405/events","html_url":"https://github.com/tidyverse/ggplot2/pull/2405","id":289385427,"number":2405,"title":"Add tag label for adding identifier to plot","user":{"login":"thomasp85","id":1775316,"avatar_url":"https://avatars3.githubusercontent.com/u/1775316?v=4","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},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":57,"created_at":"2018-01-17T19:30:29Z","updated_at":"2018-05-09T21:07:52Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/tidyverse/ggplot2/pulls/2405","html_url":"https://github.com/tidyverse/ggplot2/pull/2405","diff_url":"https://github.com/tidyverse/ggplot2/pull/2405.diff","patch_url":"https://github.com/tidyverse/ggplot2/pull/2405.patch"},"body":"As per discussions on twitter, this PR adds a `tag` label alongside `title`, `subtitle`, and `caption`. It is placed in the upper left corner in its own row and column between the margin and the title/x-label.\r\n\r\nThe tag name is chosen over `label` as the `labs()` function indicate that “label” is a catchall term for all types of titles.\r\n\r\nThe default theming is like this:\r\n\r\n```r\r\nggplot(mtcars) +\r\n  geom_point(aes(disp, mpg)) + \r\n  labs(tag = 'A', title = 'test')\r\n```\r\n\r\n![tag](https://user-images.githubusercontent.com/1775316/35062710-5802fdde-fbc5-11e7-9387-6bac0cdd41fe.png)\r\n\r\nThe size is slightly larger than the title and the margin is chosen so that it is well separated from the main parts of the plot. In general this is based on my own taste and is up for discussion."},"comment":{"url":"https://api.github.com/repos/tidyverse/ggplot2/issues/comments/387876128","html_url":"https://github.com/tidyverse/ggplot2/pull/2405#issuecomment-387876128","issue_url":"https://api.github.com/repos/tidyverse/ggplot2/issues/2405","id":387876128,"user":{"login":"thomasp85","id":1775316,"avatar_url":"https://avatars3.githubusercontent.com/u/1775316?v=4","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},"created_at":"2018-05-09T21:07:52Z","updated_at":"2018-05-09T21:07:52Z","author_association":"COLLABORATOR","body":"@lionel- it seems AppVeyor and vdiffr are still acting up despite a rebase..."}}
{"actor":{"display_login":"thomasp85"}}