{"action":"opened","number":303,"pull_request":{"url":"https://api.github.com/repos/plotly/plotly.js/pulls/303","id":61296099,"html_url":"https://github.com/plotly/plotly.js/pull/303","diff_url":"https://github.com/plotly/plotly.js/pull/303.diff","patch_url":"https://github.com/plotly/plotly.js/pull/303.patch","issue_url":"https://api.github.com/repos/plotly/plotly.js/issues/303","number":303,"state":"open","locked":false,"title":"Add \"tickpadding\" property to control distance between ticks when tickmode is auto","user":{"login":"john-soklaski","id":12491965,"avatar_url":"https://avatars.githubusercontent.com/u/12491965?v=3","gravatar_id":"","url":"https://api.github.com/users/john-soklaski","html_url":"https://github.com/john-soklaski","followers_url":"https://api.github.com/users/john-soklaski/followers","following_url":"https://api.github.com/users/john-soklaski/following{/other_user}","gists_url":"https://api.github.com/users/john-soklaski/gists{/gist_id}","starred_url":"https://api.github.com/users/john-soklaski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-soklaski/subscriptions","organizations_url":"https://api.github.com/users/john-soklaski/orgs","repos_url":"https://api.github.com/users/john-soklaski/repos","events_url":"https://api.github.com/users/john-soklaski/events{/privacy}","received_events_url":"https://api.github.com/users/john-soklaski/received_events","type":"User","site_admin":false},"body":"I have a resizeable chart that I want Plotly to automatically manage the ticks for. But, the ticks are positioned too closely together. To address this, I added a tickpadding property to the axis object.\r\n\r\nBefore\r\n\r\n![image](https://cloud.githubusercontent.com/assets/12491965/13438966/38a371e6-dfa0-11e5-8959-58aacd29e160.png)\r\n\r\nAfter (with tickpadding:20)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/12491965/13438970/3d833a98-dfa0-11e5-8725-7d6c4b24c076.png)\r\n\r\n\r\nhttp://codepen.io/john-soklaski/pen/LNEqWW","created_at":"2016-03-01T19:39:29Z","updated_at":"2016-03-01T19:39:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/plotly/plotly.js/pulls/303/commits","review_comments_url":"https://api.github.com/repos/plotly/plotly.js/pulls/303/comments","review_comment_url":"https://api.github.com/repos/plotly/plotly.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/plotly/plotly.js/issues/303/comments","statuses_url":"https://api.github.com/repos/plotly/plotly.js/statuses/ab0b4f1f610b1acd31a11e0b16267cd51f39b528","head":{"label":"john-soklaski:tickpadding","ref":"tickpadding","sha":"ab0b4f1f610b1acd31a11e0b16267cd51f39b528","user":{"login":"john-soklaski","id":12491965,"avatar_url":"https://avatars.githubusercontent.com/u/12491965?v=3","gravatar_id":"","url":"https://api.github.com/users/john-soklaski","html_url":"https://github.com/john-soklaski","followers_url":"https://api.github.com/users/john-soklaski/followers","following_url":"https://api.github.com/users/john-soklaski/following{/other_user}","gists_url":"https://api.github.com/users/john-soklaski/gists{/gist_id}","starred_url":"https://api.github.com/users/john-soklaski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-soklaski/subscriptions","organizations_url":"https://api.github.com/users/john-soklaski/orgs","repos_url":"https://api.github.com/users/john-soklaski/repos","events_url":"https://api.github.com/users/john-soklaski/events{/privacy}","received_events_url":"https://api.github.com/users/john-soklaski/received_events","type":"User","site_admin":false},"repo":{"id":51966747,"name":"plotly.js","full_name":"john-soklaski/plotly.js","owner":{"login":"john-soklaski","id":12491965,"avatar_url":"https://avatars.githubusercontent.com/u/12491965?v=3","gravatar_id":"","url":"https://api.github.com/users/john-soklaski","html_url":"https://github.com/john-soklaski","followers_url":"https://api.github.com/users/john-soklaski/followers","following_url":"https://api.github.com/users/john-soklaski/following{/other_user}","gists_url":"https://api.github.com/users/john-soklaski/gists{/gist_id}","starred_url":"https://api.github.com/users/john-soklaski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-soklaski/subscriptions","organizations_url":"https://api.github.com/users/john-soklaski/orgs","repos_url":"https://api.github.com/users/john-soklaski/repos","events_url":"https://api.github.com/users/john-soklaski/events{/privacy}","received_events_url":"https://api.github.com/users/john-soklaski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/john-soklaski/plotly.js","description":"The open source javascript graphing library that powers plotly","fork":true,"url":"https://api.github.com/repos/john-soklaski/plotly.js","forks_url":"https://api.github.com/repos/john-soklaski/plotly.js/forks","keys_url":"https://api.github.com/repos/john-soklaski/plotly.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/john-soklaski/plotly.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/john-soklaski/plotly.js/teams","hooks_url":"https://api.github.com/repos/john-soklaski/plotly.js/hooks","issue_events_url":"https://api.github.com/repos/john-soklaski/plotly.js/issues/events{/number}","events_url":"https://api.github.com/repos/john-soklaski/plotly.js/events","assignees_url":"https://api.github.com/repos/john-soklaski/plotly.js/assignees{/user}","branches_url":"https://api.github.com/repos/john-soklaski/plotly.js/branches{/branch}","tags_url":"https://api.github.com/repos/john-soklaski/plotly.js/tags","blobs_url":"https://api.github.com/repos/john-soklaski/plotly.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/john-soklaski/plotly.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/john-soklaski/plotly.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/john-soklaski/plotly.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/john-soklaski/plotly.js/statuses/{sha}","languages_url":"https://api.github.com/repos/john-soklaski/plotly.js/languages","stargazers_url":"https://api.github.com/repos/john-soklaski/plotly.js/stargazers","contributors_url":"https://api.github.com/repos/john-soklaski/plotly.js/contributors","subscribers_url":"https://api.github.com/repos/john-soklaski/plotly.js/subscribers","subscription_url":"https://api.github.com/repos/john-soklaski/plotly.js/subscription","commits_url":"https://api.github.com/repos/john-soklaski/plotly.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/john-soklaski/plotly.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/john-soklaski/plotly.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/john-soklaski/plotly.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/john-soklaski/plotly.js/contents/{+path}","compare_url":"https://api.github.com/repos/john-soklaski/plotly.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/john-soklaski/plotly.js/merges","archive_url":"https://api.github.com/repos/john-soklaski/plotly.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/john-soklaski/plotly.js/downloads","issues_url":"https://api.github.com/repos/john-soklaski/plotly.js/issues{/number}","pulls_url":"https://api.github.com/repos/john-soklaski/plotly.js/pulls{/number}","milestones_url":"https://api.github.com/repos/john-soklaski/plotly.js/milestones{/number}","notifications_url":"https://api.github.com/repos/john-soklaski/plotly.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/john-soklaski/plotly.js/labels{/name}","releases_url":"https://api.github.com/repos/john-soklaski/plotly.js/releases{/id}","deployments_url":"https://api.github.com/repos/john-soklaski/plotly.js/deployments","created_at":"2016-02-18T00:43:48Z","updated_at":"2016-02-18T00:43:50Z","pushed_at":"2016-03-01T19:19:34Z","git_url":"git://github.com/john-soklaski/plotly.js.git","ssh_url":"git@github.com:john-soklaski/plotly.js.git","clone_url":"https://github.com/john-soklaski/plotly.js.git","svn_url":"https://github.com/john-soklaski/plotly.js","homepage":"https://plot.ly/javascript/","size":98913,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"plotly:master","ref":"master","sha":"8dd98a093588727dbb8d97876da81e3d55210aa3","user":{"login":"plotly","id":5997976,"avatar_url":"https://avatars.githubusercontent.com/u/5997976?v=3","gravatar_id":"","url":"https://api.github.com/users/plotly","html_url":"https://github.com/plotly","followers_url":"https://api.github.com/users/plotly/followers","following_url":"https://api.github.com/users/plotly/following{/other_user}","gists_url":"https://api.github.com/users/plotly/gists{/gist_id}","starred_url":"https://api.github.com/users/plotly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plotly/subscriptions","organizations_url":"https://api.github.com/users/plotly/orgs","repos_url":"https://api.github.com/users/plotly/repos","events_url":"https://api.github.com/users/plotly/events{/privacy}","received_events_url":"https://api.github.com/users/plotly/received_events","type":"Organization","site_admin":false},"repo":{"id":45646037,"name":"plotly.js","full_name":"plotly/plotly.js","owner":{"login":"plotly","id":5997976,"avatar_url":"https://avatars.githubusercontent.com/u/5997976?v=3","gravatar_id":"","url":"https://api.github.com/users/plotly","html_url":"https://github.com/plotly","followers_url":"https://api.github.com/users/plotly/followers","following_url":"https://api.github.com/users/plotly/following{/other_user}","gists_url":"https://api.github.com/users/plotly/gists{/gist_id}","starred_url":"https://api.github.com/users/plotly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plotly/subscriptions","organizations_url":"https://api.github.com/users/plotly/orgs","repos_url":"https://api.github.com/users/plotly/repos","events_url":"https://api.github.com/users/plotly/events{/privacy}","received_events_url":"https://api.github.com/users/plotly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/plotly/plotly.js","description":"The open source javascript graphing library that powers plotly","fork":false,"url":"https://api.github.com/repos/plotly/plotly.js","forks_url":"https://api.github.com/repos/plotly/plotly.js/forks","keys_url":"https://api.github.com/repos/plotly/plotly.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plotly/plotly.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plotly/plotly.js/teams","hooks_url":"https://api.github.com/repos/plotly/plotly.js/hooks","issue_events_url":"https://api.github.com/repos/plotly/plotly.js/issues/events{/number}","events_url":"https://api.github.com/repos/plotly/plotly.js/events","assignees_url":"https://api.github.com/repos/plotly/plotly.js/assignees{/user}","branches_url":"https://api.github.com/repos/plotly/plotly.js/branches{/branch}","tags_url":"https://api.github.com/repos/plotly/plotly.js/tags","blobs_url":"https://api.github.com/repos/plotly/plotly.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plotly/plotly.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plotly/plotly.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/plotly/plotly.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plotly/plotly.js/statuses/{sha}","languages_url":"https://api.github.com/repos/plotly/plotly.js/languages","stargazers_url":"https://api.github.com/repos/plotly/plotly.js/stargazers","contributors_url":"https://api.github.com/repos/plotly/plotly.js/contributors","subscribers_url":"https://api.github.com/repos/plotly/plotly.js/subscribers","subscription_url":"https://api.github.com/repos/plotly/plotly.js/subscription","commits_url":"https://api.github.com/repos/plotly/plotly.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/plotly/plotly.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/plotly/plotly.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/plotly/plotly.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/plotly/plotly.js/contents/{+path}","compare_url":"https://api.github.com/repos/plotly/plotly.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plotly/plotly.js/merges","archive_url":"https://api.github.com/repos/plotly/plotly.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plotly/plotly.js/downloads","issues_url":"https://api.github.com/repos/plotly/plotly.js/issues{/number}","pulls_url":"https://api.github.com/repos/plotly/plotly.js/pulls{/number}","milestones_url":"https://api.github.com/repos/plotly/plotly.js/milestones{/number}","notifications_url":"https://api.github.com/repos/plotly/plotly.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plotly/plotly.js/labels{/name}","releases_url":"https://api.github.com/repos/plotly/plotly.js/releases{/id}","deployments_url":"https://api.github.com/repos/plotly/plotly.js/deployments","created_at":"2015-11-05T23:27:17Z","updated_at":"2016-03-01T15:26:07Z","pushed_at":"2016-03-01T19:03:05Z","git_url":"git://github.com/plotly/plotly.js.git","ssh_url":"git@github.com:plotly/plotly.js.git","clone_url":"https://github.com/plotly/plotly.js.git","svn_url":"https://github.com/plotly/plotly.js","homepage":"https://plot.ly/javascript/","size":102308,"stargazers_count":4237,"watchers_count":4237,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":303,"mirror_url":null,"open_issues_count":99,"forks":303,"open_issues":99,"watchers":4237,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/plotly/plotly.js/pulls/303"},"html":{"href":"https://github.com/plotly/plotly.js/pull/303"},"issue":{"href":"https://api.github.com/repos/plotly/plotly.js/issues/303"},"comments":{"href":"https://api.github.com/repos/plotly/plotly.js/issues/303/comments"},"review_comments":{"href":"https://api.github.com/repos/plotly/plotly.js/pulls/303/comments"},"review_comment":{"href":"https://api.github.com/repos/plotly/plotly.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/plotly/plotly.js/pulls/303/commits"},"statuses":{"href":"https://api.github.com/repos/plotly/plotly.js/statuses/ab0b4f1f610b1acd31a11e0b16267cd51f39b528"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":12,"deletions":0,"changed_files":3}}