{"action":"opened","number":18,"pull_request":{"url":"https://api.github.com/repos/cpsievert/plotly_book/pulls/18","id":195887642,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1ODg3NjQy","html_url":"https://github.com/cpsievert/plotly_book/pull/18","diff_url":"https://github.com/cpsievert/plotly_book/pull/18.diff","patch_url":"https://github.com/cpsievert/plotly_book/pull/18.patch","issue_url":"https://api.github.com/repos/cpsievert/plotly_book/issues/18","number":18,"state":"open","locked":false,"title":"Fix data labels in ggplotly-vs-plotly.Rmd","user":{"login":"markroepke","id":26677807,"node_id":"MDQ6VXNlcjI2Njc3ODA3","avatar_url":"https://avatars0.githubusercontent.com/u/26677807?v=4","gravatar_id":"","url":"https://api.github.com/users/markroepke","html_url":"https://github.com/markroepke","followers_url":"https://api.github.com/users/markroepke/followers","following_url":"https://api.github.com/users/markroepke/following{/other_user}","gists_url":"https://api.github.com/users/markroepke/gists{/gist_id}","starred_url":"https://api.github.com/users/markroepke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markroepke/subscriptions","organizations_url":"https://api.github.com/users/markroepke/orgs","repos_url":"https://api.github.com/users/markroepke/repos","events_url":"https://api.github.com/users/markroepke/events{/privacy}","received_events_url":"https://api.github.com/users/markroepke/received_events","type":"User","site_admin":false},"body":"The data labels are not aligning to their respective segments. My guess is that this broke with ggplot2 2.2.0 which reversed the order stacking from the group order.\r\n\r\nI've tested the change to ensure the results are correct with the most up-to-date version of plotly and ggplot2, but I am leaving any site-building changes to you as I do not know how that works and assume you have your way of doing that.","created_at":"2018-06-19T16:32:08Z","updated_at":"2018-06-19T16:32:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cpsievert/plotly_book/pulls/18/commits","review_comments_url":"https://api.github.com/repos/cpsievert/plotly_book/pulls/18/comments","review_comment_url":"https://api.github.com/repos/cpsievert/plotly_book/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cpsievert/plotly_book/issues/18/comments","statuses_url":"https://api.github.com/repos/cpsievert/plotly_book/statuses/a9460316a4105f32495a999ff3c664cc1ec6455c","head":{"label":"markroepke:master","ref":"master","sha":"a9460316a4105f32495a999ff3c664cc1ec6455c","user":{"login":"markroepke","id":26677807,"node_id":"MDQ6VXNlcjI2Njc3ODA3","avatar_url":"https://avatars0.githubusercontent.com/u/26677807?v=4","gravatar_id":"","url":"https://api.github.com/users/markroepke","html_url":"https://github.com/markroepke","followers_url":"https://api.github.com/users/markroepke/followers","following_url":"https://api.github.com/users/markroepke/following{/other_user}","gists_url":"https://api.github.com/users/markroepke/gists{/gist_id}","starred_url":"https://api.github.com/users/markroepke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markroepke/subscriptions","organizations_url":"https://api.github.com/users/markroepke/orgs","repos_url":"https://api.github.com/users/markroepke/repos","events_url":"https://api.github.com/users/markroepke/events{/privacy}","received_events_url":"https://api.github.com/users/markroepke/received_events","type":"User","site_admin":false},"repo":{"id":137916654,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc5MTY2NTQ=","name":"plotly_book","full_name":"markroepke/plotly_book","owner":{"login":"markroepke","id":26677807,"node_id":"MDQ6VXNlcjI2Njc3ODA3","avatar_url":"https://avatars0.githubusercontent.com/u/26677807?v=4","gravatar_id":"","url":"https://api.github.com/users/markroepke","html_url":"https://github.com/markroepke","followers_url":"https://api.github.com/users/markroepke/followers","following_url":"https://api.github.com/users/markroepke/following{/other_user}","gists_url":"https://api.github.com/users/markroepke/gists{/gist_id}","starred_url":"https://api.github.com/users/markroepke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markroepke/subscriptions","organizations_url":"https://api.github.com/users/markroepke/orgs","repos_url":"https://api.github.com/users/markroepke/repos","events_url":"https://api.github.com/users/markroepke/events{/privacy}","received_events_url":"https://api.github.com/users/markroepke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/markroepke/plotly_book","description":"plotly for R book","fork":true,"url":"https://api.github.com/repos/markroepke/plotly_book","forks_url":"https://api.github.com/repos/markroepke/plotly_book/forks","keys_url":"https://api.github.com/repos/markroepke/plotly_book/keys{/key_id}","collaborators_url":"https://api.github.com/repos/markroepke/plotly_book/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/markroepke/plotly_book/teams","hooks_url":"https://api.github.com/repos/markroepke/plotly_book/hooks","issue_events_url":"https://api.github.com/repos/markroepke/plotly_book/issues/events{/number}","events_url":"https://api.github.com/repos/markroepke/plotly_book/events","assignees_url":"https://api.github.com/repos/markroepke/plotly_book/assignees{/user}","branches_url":"https://api.github.com/repos/markroepke/plotly_book/branches{/branch}","tags_url":"https://api.github.com/repos/markroepke/plotly_book/tags","blobs_url":"https://api.github.com/repos/markroepke/plotly_book/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/markroepke/plotly_book/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/markroepke/plotly_book/git/refs{/sha}","trees_url":"https://api.github.com/repos/markroepke/plotly_book/git/trees{/sha}","statuses_url":"https://api.github.com/repos/markroepke/plotly_book/statuses/{sha}","languages_url":"https://api.github.com/repos/markroepke/plotly_book/languages","stargazers_url":"https://api.github.com/repos/markroepke/plotly_book/stargazers","contributors_url":"https://api.github.com/repos/markroepke/plotly_book/contributors","subscribers_url":"https://api.github.com/repos/markroepke/plotly_book/subscribers","subscription_url":"https://api.github.com/repos/markroepke/plotly_book/subscription","commits_url":"https://api.github.com/repos/markroepke/plotly_book/commits{/sha}","git_commits_url":"https://api.github.com/repos/markroepke/plotly_book/git/commits{/sha}","comments_url":"https://api.github.com/repos/markroepke/plotly_book/comments{/number}","issue_comment_url":"https://api.github.com/repos/markroepke/plotly_book/issues/comments{/number}","contents_url":"https://api.github.com/repos/markroepke/plotly_book/contents/{+path}","compare_url":"https://api.github.com/repos/markroepke/plotly_book/compare/{base}...{head}","merges_url":"https://api.github.com/repos/markroepke/plotly_book/merges","archive_url":"https://api.github.com/repos/markroepke/plotly_book/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/markroepke/plotly_book/downloads","issues_url":"https://api.github.com/repos/markroepke/plotly_book/issues{/number}","pulls_url":"https://api.github.com/repos/markroepke/plotly_book/pulls{/number}","milestones_url":"https://api.github.com/repos/markroepke/plotly_book/milestones{/number}","notifications_url":"https://api.github.com/repos/markroepke/plotly_book/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/markroepke/plotly_book/labels{/name}","releases_url":"https://api.github.com/repos/markroepke/plotly_book/releases{/id}","deployments_url":"https://api.github.com/repos/markroepke/plotly_book/deployments","created_at":"2018-06-19T16:19:30Z","updated_at":"2018-06-19T16:31:20Z","pushed_at":"2018-06-19T16:31:18Z","git_url":"git://github.com/markroepke/plotly_book.git","ssh_url":"git@github.com:markroepke/plotly_book.git","clone_url":"https://github.com/markroepke/plotly_book.git","svn_url":"https://github.com/markroepke/plotly_book","homepage":"https://plotly-book.cpsievert.me/","size":79716,"stargazers_count":0,"watchers_count":0,"language":"TeX","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cpsievert:master","ref":"master","sha":"2f7755e8bf73d9d323cb69e7494cdbb574e64606","user":{"login":"cpsievert","id":1365941,"node_id":"MDQ6VXNlcjEzNjU5NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/1365941?v=4","gravatar_id":"","url":"https://api.github.com/users/cpsievert","html_url":"https://github.com/cpsievert","followers_url":"https://api.github.com/users/cpsievert/followers","following_url":"https://api.github.com/users/cpsievert/following{/other_user}","gists_url":"https://api.github.com/users/cpsievert/gists{/gist_id}","starred_url":"https://api.github.com/users/cpsievert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpsievert/subscriptions","organizations_url":"https://api.github.com/users/cpsievert/orgs","repos_url":"https://api.github.com/users/cpsievert/repos","events_url":"https://api.github.com/users/cpsievert/events{/privacy}","received_events_url":"https://api.github.com/users/cpsievert/received_events","type":"User","site_admin":false},"repo":{"id":67150635,"node_id":"MDEwOlJlcG9zaXRvcnk2NzE1MDYzNQ==","name":"plotly_book","full_name":"cpsievert/plotly_book","owner":{"login":"cpsievert","id":1365941,"node_id":"MDQ6VXNlcjEzNjU5NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/1365941?v=4","gravatar_id":"","url":"https://api.github.com/users/cpsievert","html_url":"https://github.com/cpsievert","followers_url":"https://api.github.com/users/cpsievert/followers","following_url":"https://api.github.com/users/cpsievert/following{/other_user}","gists_url":"https://api.github.com/users/cpsievert/gists{/gist_id}","starred_url":"https://api.github.com/users/cpsievert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpsievert/subscriptions","organizations_url":"https://api.github.com/users/cpsievert/orgs","repos_url":"https://api.github.com/users/cpsievert/repos","events_url":"https://api.github.com/users/cpsievert/events{/privacy}","received_events_url":"https://api.github.com/users/cpsievert/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cpsievert/plotly_book","description":"plotly for R book","fork":false,"url":"https://api.github.com/repos/cpsievert/plotly_book","forks_url":"https://api.github.com/repos/cpsievert/plotly_book/forks","keys_url":"https://api.github.com/repos/cpsievert/plotly_book/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cpsievert/plotly_book/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cpsievert/plotly_book/teams","hooks_url":"https://api.github.com/repos/cpsievert/plotly_book/hooks","issue_events_url":"https://api.github.com/repos/cpsievert/plotly_book/issues/events{/number}","events_url":"https://api.github.com/repos/cpsievert/plotly_book/events","assignees_url":"https://api.github.com/repos/cpsievert/plotly_book/assignees{/user}","branches_url":"https://api.github.com/repos/cpsievert/plotly_book/branches{/branch}","tags_url":"https://api.github.com/repos/cpsievert/plotly_book/tags","blobs_url":"https://api.github.com/repos/cpsievert/plotly_book/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cpsievert/plotly_book/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cpsievert/plotly_book/git/refs{/sha}","trees_url":"https://api.github.com/repos/cpsievert/plotly_book/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cpsievert/plotly_book/statuses/{sha}","languages_url":"https://api.github.com/repos/cpsievert/plotly_book/languages","stargazers_url":"https://api.github.com/repos/cpsievert/plotly_book/stargazers","contributors_url":"https://api.github.com/repos/cpsievert/plotly_book/contributors","subscribers_url":"https://api.github.com/repos/cpsievert/plotly_book/subscribers","subscription_url":"https://api.github.com/repos/cpsievert/plotly_book/subscription","commits_url":"https://api.github.com/repos/cpsievert/plotly_book/commits{/sha}","git_commits_url":"https://api.github.com/repos/cpsievert/plotly_book/git/commits{/sha}","comments_url":"https://api.github.com/repos/cpsievert/plotly_book/comments{/number}","issue_comment_url":"https://api.github.com/repos/cpsievert/plotly_book/issues/comments{/number}","contents_url":"https://api.github.com/repos/cpsievert/plotly_book/contents/{+path}","compare_url":"https://api.github.com/repos/cpsievert/plotly_book/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cpsievert/plotly_book/merges","archive_url":"https://api.github.com/repos/cpsievert/plotly_book/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cpsievert/plotly_book/downloads","issues_url":"https://api.github.com/repos/cpsievert/plotly_book/issues{/number}","pulls_url":"https://api.github.com/repos/cpsievert/plotly_book/pulls{/number}","milestones_url":"https://api.github.com/repos/cpsievert/plotly_book/milestones{/number}","notifications_url":"https://api.github.com/repos/cpsievert/plotly_book/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cpsievert/plotly_book/labels{/name}","releases_url":"https://api.github.com/repos/cpsievert/plotly_book/releases{/id}","deployments_url":"https://api.github.com/repos/cpsievert/plotly_book/deployments","created_at":"2016-09-01T17:05:16Z","updated_at":"2018-06-09T09:48:42Z","pushed_at":"2018-03-21T21:28:46Z","git_url":"git://github.com/cpsievert/plotly_book.git","ssh_url":"git@github.com:cpsievert/plotly_book.git","clone_url":"https://github.com/cpsievert/plotly_book.git","svn_url":"https://github.com/cpsievert/plotly_book","homepage":"https://plotly-book.cpsievert.me/","size":79716,"stargazers_count":51,"watchers_count":51,"language":"TeX","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":47,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":47,"open_issues":6,"watchers":51,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cpsievert/plotly_book/pulls/18"},"html":{"href":"https://github.com/cpsievert/plotly_book/pull/18"},"issue":{"href":"https://api.github.com/repos/cpsievert/plotly_book/issues/18"},"comments":{"href":"https://api.github.com/repos/cpsievert/plotly_book/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/cpsievert/plotly_book/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/cpsievert/plotly_book/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cpsievert/plotly_book/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/cpsievert/plotly_book/statuses/a9460316a4105f32495a999ff3c664cc1ec6455c"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"markroepke"}}