{"action":"closed","number":574,"pull_request":{"url":"https://api.github.com/repos/ropensci/plotly/pulls/574","id":68959241,"html_url":"https://github.com/ropensci/plotly/pull/574","diff_url":"https://github.com/ropensci/plotly/pull/574.diff","patch_url":"https://github.com/ropensci/plotly/pull/574.patch","issue_url":"https://api.github.com/repos/ropensci/plotly/issues/574","number":574,"state":"closed","locked":false,"title":"use Plotly axis titles if not facetted","user":{"login":"timelyportfolio","id":837910,"avatar_url":"https://avatars.githubusercontent.com/u/837910?v=3","gravatar_id":"","url":"https://api.github.com/users/timelyportfolio","html_url":"https://github.com/timelyportfolio","followers_url":"https://api.github.com/users/timelyportfolio/followers","following_url":"https://api.github.com/users/timelyportfolio/following{/other_user}","gists_url":"https://api.github.com/users/timelyportfolio/gists{/gist_id}","starred_url":"https://api.github.com/users/timelyportfolio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timelyportfolio/subscriptions","organizations_url":"https://api.github.com/users/timelyportfolio/orgs","repos_url":"https://api.github.com/users/timelyportfolio/repos","events_url":"https://api.github.com/users/timelyportfolio/events{/privacy}","received_events_url":"https://api.github.com/users/timelyportfolio/received_events","type":"User","site_admin":false},"body":"Closes #573 to pull from ropensci remote.  Also rebase to current master.\r\n\r\nAs reported in #510, axis titles can be positioned improperly depending on the size of the plot.  In a2aedacd0900bf6f447d72e3f174deb4d8cfbc91, axis titles were changed to annotations, so they are not duplicated and work much more similarly to `ggplot2`.  Unfortunately, `plotly` annotations are positioned based on a `[0,1]` scale with respect to the plot area.  This means the axis titles scale inversely and negatively to the plot size.  When the plot is small, the `x` axis title will be placed too high.  When the plot is large/high, the `x` axis title moves too far down sometimes out of the svg bounding box.\r\n\r\nThis pull changes to use `plotly` axis titles when the plot is not facetted.  When the plot is facetted, the `plotly` axis titles are changed to `\"\"` in favor of the annotation approach.","created_at":"2016-05-05T02:20:09Z","updated_at":"2016-05-05T06:14:55Z","closed_at":"2016-05-05T06:14:54Z","merged_at":"2016-05-05T06:14:54Z","merge_commit_sha":"d136b69a293f0b4873e5bc991bb05a9afeadbece","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ropensci/plotly/pulls/574/commits","review_comments_url":"https://api.github.com/repos/ropensci/plotly/pulls/574/comments","review_comment_url":"https://api.github.com/repos/ropensci/plotly/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ropensci/plotly/issues/574/comments","statuses_url":"https://api.github.com/repos/ropensci/plotly/statuses/b128922ec2588965cf9f20efd43ee5ad80ac7aff","head":{"label":"ropensci:fix/axis-labels","ref":"fix/axis-labels","sha":"b128922ec2588965cf9f20efd43ee5ad80ac7aff","user":{"login":"ropensci","id":1200269,"avatar_url":"https://avatars.githubusercontent.com/u/1200269?v=3","gravatar_id":"","url":"https://api.github.com/users/ropensci","html_url":"https://github.com/ropensci","followers_url":"https://api.github.com/users/ropensci/followers","following_url":"https://api.github.com/users/ropensci/following{/other_user}","gists_url":"https://api.github.com/users/ropensci/gists{/gist_id}","starred_url":"https://api.github.com/users/ropensci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ropensci/subscriptions","organizations_url":"https://api.github.com/users/ropensci/orgs","repos_url":"https://api.github.com/users/ropensci/repos","events_url":"https://api.github.com/users/ropensci/events{/privacy}","received_events_url":"https://api.github.com/users/ropensci/received_events","type":"Organization","site_admin":false},"repo":{"id":14579179,"name":"plotly","full_name":"ropensci/plotly","owner":{"login":"ropensci","id":1200269,"avatar_url":"https://avatars.githubusercontent.com/u/1200269?v=3","gravatar_id":"","url":"https://api.github.com/users/ropensci","html_url":"https://github.com/ropensci","followers_url":"https://api.github.com/users/ropensci/followers","following_url":"https://api.github.com/users/ropensci/following{/other_user}","gists_url":"https://api.github.com/users/ropensci/gists{/gist_id}","starred_url":"https://api.github.com/users/ropensci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ropensci/subscriptions","organizations_url":"https://api.github.com/users/ropensci/orgs","repos_url":"https://api.github.com/users/ropensci/repos","events_url":"https://api.github.com/users/ropensci/events{/privacy}","received_events_url":"https://api.github.com/users/ropensci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ropensci/plotly","description":"Create interactive web graphics from R via plotly's JavaScript graphing library","fork":false,"url":"https://api.github.com/repos/ropensci/plotly","forks_url":"https://api.github.com/repos/ropensci/plotly/forks","keys_url":"https://api.github.com/repos/ropensci/plotly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ropensci/plotly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ropensci/plotly/teams","hooks_url":"https://api.github.com/repos/ropensci/plotly/hooks","issue_events_url":"https://api.github.com/repos/ropensci/plotly/issues/events{/number}","events_url":"https://api.github.com/repos/ropensci/plotly/events","assignees_url":"https://api.github.com/repos/ropensci/plotly/assignees{/user}","branches_url":"https://api.github.com/repos/ropensci/plotly/branches{/branch}","tags_url":"https://api.github.com/repos/ropensci/plotly/tags","blobs_url":"https://api.github.com/repos/ropensci/plotly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ropensci/plotly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ropensci/plotly/git/refs{/sha}","trees_url":"https://api.github.com/repos/ropensci/plotly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ropensci/plotly/statuses/{sha}","languages_url":"https://api.github.com/repos/ropensci/plotly/languages","stargazers_url":"https://api.github.com/repos/ropensci/plotly/stargazers","contributors_url":"https://api.github.com/repos/ropensci/plotly/contributors","subscribers_url":"https://api.github.com/repos/ropensci/plotly/subscribers","subscription_url":"https://api.github.com/repos/ropensci/plotly/subscription","commits_url":"https://api.github.com/repos/ropensci/plotly/commits{/sha}","git_commits_url":"https://api.github.com/repos/ropensci/plotly/git/commits{/sha}","comments_url":"https://api.github.com/repos/ropensci/plotly/comments{/number}","issue_comment_url":"https://api.github.com/repos/ropensci/plotly/issues/comments{/number}","contents_url":"https://api.github.com/repos/ropensci/plotly/contents/{+path}","compare_url":"https://api.github.com/repos/ropensci/plotly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ropensci/plotly/merges","archive_url":"https://api.github.com/repos/ropensci/plotly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ropensci/plotly/downloads","issues_url":"https://api.github.com/repos/ropensci/plotly/issues{/number}","pulls_url":"https://api.github.com/repos/ropensci/plotly/pulls{/number}","milestones_url":"https://api.github.com/repos/ropensci/plotly/milestones{/number}","notifications_url":"https://api.github.com/repos/ropensci/plotly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ropensci/plotly/labels{/name}","releases_url":"https://api.github.com/repos/ropensci/plotly/releases{/id}","deployments_url":"https://api.github.com/repos/ropensci/plotly/deployments","created_at":"2013-11-21T05:56:51Z","updated_at":"2016-05-04T15:55:42Z","pushed_at":"2016-05-05T06:14:55Z","git_url":"git://github.com/ropensci/plotly.git","ssh_url":"git@github.com:ropensci/plotly.git","clone_url":"https://github.com/ropensci/plotly.git","svn_url":"https://github.com/ropensci/plotly","homepage":"https://plot.ly/r/","size":65725,"stargazers_count":483,"watchers_count":483,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":167,"mirror_url":null,"open_issues_count":68,"forks":167,"open_issues":68,"watchers":483,"default_branch":"master"}},"base":{"label":"ropensci:master","ref":"master","sha":"e449e3c564bcc9f75eeb89ee44468a143cfb985b","user":{"login":"ropensci","id":1200269,"avatar_url":"https://avatars.githubusercontent.com/u/1200269?v=3","gravatar_id":"","url":"https://api.github.com/users/ropensci","html_url":"https://github.com/ropensci","followers_url":"https://api.github.com/users/ropensci/followers","following_url":"https://api.github.com/users/ropensci/following{/other_user}","gists_url":"https://api.github.com/users/ropensci/gists{/gist_id}","starred_url":"https://api.github.com/users/ropensci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ropensci/subscriptions","organizations_url":"https://api.github.com/users/ropensci/orgs","repos_url":"https://api.github.com/users/ropensci/repos","events_url":"https://api.github.com/users/ropensci/events{/privacy}","received_events_url":"https://api.github.com/users/ropensci/received_events","type":"Organization","site_admin":false},"repo":{"id":14579179,"name":"plotly","full_name":"ropensci/plotly","owner":{"login":"ropensci","id":1200269,"avatar_url":"https://avatars.githubusercontent.com/u/1200269?v=3","gravatar_id":"","url":"https://api.github.com/users/ropensci","html_url":"https://github.com/ropensci","followers_url":"https://api.github.com/users/ropensci/followers","following_url":"https://api.github.com/users/ropensci/following{/other_user}","gists_url":"https://api.github.com/users/ropensci/gists{/gist_id}","starred_url":"https://api.github.com/users/ropensci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ropensci/subscriptions","organizations_url":"https://api.github.com/users/ropensci/orgs","repos_url":"https://api.github.com/users/ropensci/repos","events_url":"https://api.github.com/users/ropensci/events{/privacy}","received_events_url":"https://api.github.com/users/ropensci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ropensci/plotly","description":"Create interactive web graphics from R via plotly's JavaScript graphing library","fork":false,"url":"https://api.github.com/repos/ropensci/plotly","forks_url":"https://api.github.com/repos/ropensci/plotly/forks","keys_url":"https://api.github.com/repos/ropensci/plotly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ropensci/plotly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ropensci/plotly/teams","hooks_url":"https://api.github.com/repos/ropensci/plotly/hooks","issue_events_url":"https://api.github.com/repos/ropensci/plotly/issues/events{/number}","events_url":"https://api.github.com/repos/ropensci/plotly/events","assignees_url":"https://api.github.com/repos/ropensci/plotly/assignees{/user}","branches_url":"https://api.github.com/repos/ropensci/plotly/branches{/branch}","tags_url":"https://api.github.com/repos/ropensci/plotly/tags","blobs_url":"https://api.github.com/repos/ropensci/plotly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ropensci/plotly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ropensci/plotly/git/refs{/sha}","trees_url":"https://api.github.com/repos/ropensci/plotly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ropensci/plotly/statuses/{sha}","languages_url":"https://api.github.com/repos/ropensci/plotly/languages","stargazers_url":"https://api.github.com/repos/ropensci/plotly/stargazers","contributors_url":"https://api.github.com/repos/ropensci/plotly/contributors","subscribers_url":"https://api.github.com/repos/ropensci/plotly/subscribers","subscription_url":"https://api.github.com/repos/ropensci/plotly/subscription","commits_url":"https://api.github.com/repos/ropensci/plotly/commits{/sha}","git_commits_url":"https://api.github.com/repos/ropensci/plotly/git/commits{/sha}","comments_url":"https://api.github.com/repos/ropensci/plotly/comments{/number}","issue_comment_url":"https://api.github.com/repos/ropensci/plotly/issues/comments{/number}","contents_url":"https://api.github.com/repos/ropensci/plotly/contents/{+path}","compare_url":"https://api.github.com/repos/ropensci/plotly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ropensci/plotly/merges","archive_url":"https://api.github.com/repos/ropensci/plotly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ropensci/plotly/downloads","issues_url":"https://api.github.com/repos/ropensci/plotly/issues{/number}","pulls_url":"https://api.github.com/repos/ropensci/plotly/pulls{/number}","milestones_url":"https://api.github.com/repos/ropensci/plotly/milestones{/number}","notifications_url":"https://api.github.com/repos/ropensci/plotly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ropensci/plotly/labels{/name}","releases_url":"https://api.github.com/repos/ropensci/plotly/releases{/id}","deployments_url":"https://api.github.com/repos/ropensci/plotly/deployments","created_at":"2013-11-21T05:56:51Z","updated_at":"2016-05-04T15:55:42Z","pushed_at":"2016-05-05T06:14:55Z","git_url":"git://github.com/ropensci/plotly.git","ssh_url":"git@github.com:ropensci/plotly.git","clone_url":"https://github.com/ropensci/plotly.git","svn_url":"https://github.com/ropensci/plotly","homepage":"https://plot.ly/r/","size":65725,"stargazers_count":483,"watchers_count":483,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":167,"mirror_url":null,"open_issues_count":68,"forks":167,"open_issues":68,"watchers":483,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ropensci/plotly/pulls/574"},"html":{"href":"https://github.com/ropensci/plotly/pull/574"},"issue":{"href":"https://api.github.com/repos/ropensci/plotly/issues/574"},"comments":{"href":"https://api.github.com/repos/ropensci/plotly/issues/574/comments"},"review_comments":{"href":"https://api.github.com/repos/ropensci/plotly/pulls/574/comments"},"review_comment":{"href":"https://api.github.com/repos/ropensci/plotly/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ropensci/plotly/pulls/574/commits"},"statuses":{"href":"https://api.github.com/repos/ropensci/plotly/statuses/b128922ec2588965cf9f20efd43ee5ad80ac7aff"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"cpsievert","id":1365941,"avatar_url":"https://avatars.githubusercontent.com/u/1365941?v=3","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},"comments":1,"review_comments":0,"commits":6,"additions":60,"deletions":37,"changed_files":6}}