{"action":"created","comment":{"url":"https://api.github.com/repos/mwaskom/seaborn/pulls/comments/33471238","id":33471238,"diff_hunk":"@@ -1270,7 +1296,10 @@ def draw_bars(self, ax, kws):\n \n             # Draw the confidence intervals\n             errcolors = [self.errcolor] * len(barpos)\n-            self.draw_confints(ax, barpos, self.confint, errcolors)\n+            self.draw_confints(ax, barpos,\n+                               self.confint,\n+                               errcolors,\n+                               draw_perp=self.draw_perp)","path":"seaborn/categorical.py","position":69,"original_position":69,"commit_id":"2fbd4856a26b7e893071820886aa9ae1df2d3b36","original_commit_id":"2fbd4856a26b7e893071820886aa9ae1df2d3b36","user":{"login":"jat255","id":1278301,"avatar_url":"https://avatars.githubusercontent.com/u/1278301?v=3","gravatar_id":"","url":"https://api.github.com/users/jat255","html_url":"https://github.com/jat255","followers_url":"https://api.github.com/users/jat255/followers","following_url":"https://api.github.com/users/jat255/following{/other_user}","gists_url":"https://api.github.com/users/jat255/gists{/gist_id}","starred_url":"https://api.github.com/users/jat255/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jat255/subscriptions","organizations_url":"https://api.github.com/users/jat255/orgs","repos_url":"https://api.github.com/users/jat255/repos","events_url":"https://api.github.com/users/jat255/events{/privacy}","received_events_url":"https://api.github.com/users/jat255/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2015-06-29T14:50:08Z","updated_at":"2015-06-29T14:50:08Z","html_url":"https://github.com/mwaskom/seaborn/pull/606#discussion_r33471238","pull_request_url":"https://api.github.com/repos/mwaskom/seaborn/pulls/606","_links":{"self":{"href":"https://api.github.com/repos/mwaskom/seaborn/pulls/comments/33471238"},"html":{"href":"https://github.com/mwaskom/seaborn/pull/606#discussion_r33471238"},"pull_request":{"href":"https://api.github.com/repos/mwaskom/seaborn/pulls/606"}}},"pull_request":{"url":"https://api.github.com/repos/mwaskom/seaborn/pulls/606","id":38279100,"html_url":"https://github.com/mwaskom/seaborn/pull/606","diff_url":"https://github.com/mwaskom/seaborn/pull/606.diff","patch_url":"https://github.com/mwaskom/seaborn/pull/606.patch","issue_url":"https://api.github.com/repos/mwaskom/seaborn/issues/606","number":606,"state":"open","locked":false,"title":"End caps on barplot confidence intervals","user":{"login":"jat255","id":1278301,"avatar_url":"https://avatars.githubusercontent.com/u/1278301?v=3","gravatar_id":"","url":"https://api.github.com/users/jat255","html_url":"https://github.com/jat255","followers_url":"https://api.github.com/users/jat255/followers","following_url":"https://api.github.com/users/jat255/following{/other_user}","gists_url":"https://api.github.com/users/jat255/gists{/gist_id}","starred_url":"https://api.github.com/users/jat255/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jat255/subscriptions","organizations_url":"https://api.github.com/users/jat255/orgs","repos_url":"https://api.github.com/users/jat255/repos","events_url":"https://api.github.com/users/jat255/events{/privacy}","received_events_url":"https://api.github.com/users/jat255/received_events","type":"User","site_admin":false},"body":"This is something I have been using on my own plots, and I figured it might be of use to others. \r\n\r\nAdded a simple switch to `barplot` that allows for perpendicular lines to be drawn on the confidence intervals (which could be nicer for display, depending on your preference).\r\n\r\nThis changes the default behavior from this:\r\n![001-without_perp](https://cloud.githubusercontent.com/assets/1278301/8293614/ba28d8ea-1904-11e5-984d-e612ff798a6c.png)\r\n\r\nTo this:\r\n![001-with_perp](https://cloud.githubusercontent.com/assets/1278301/8293616/bdc63bc8-1904-11e5-881a-6d38385ce9d0.png)\r\n\r\nSince it's a totally optional argument, and I don't think it breaks anything, hopefully it's not too painful to incorporate :smiley:\r\n\r\n- Josh\r\n","created_at":"2015-06-22T21:33:51Z","updated_at":"2015-06-29T14:50:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5047f8e0f2881b12d8786888073ca814c35b9de9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mwaskom/seaborn/pulls/606/commits","review_comments_url":"https://api.github.com/repos/mwaskom/seaborn/pulls/606/comments","review_comment_url":"https://api.github.com/repos/mwaskom/seaborn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mwaskom/seaborn/issues/606/comments","statuses_url":"https://api.github.com/repos/mwaskom/seaborn/statuses/2fbd4856a26b7e893071820886aa9ae1df2d3b36","head":{"label":"jat255:ENH_horizontal_line_error_bar","ref":"ENH_horizontal_line_error_bar","sha":"2fbd4856a26b7e893071820886aa9ae1df2d3b36","user":{"login":"jat255","id":1278301,"avatar_url":"https://avatars.githubusercontent.com/u/1278301?v=3","gravatar_id":"","url":"https://api.github.com/users/jat255","html_url":"https://github.com/jat255","followers_url":"https://api.github.com/users/jat255/followers","following_url":"https://api.github.com/users/jat255/following{/other_user}","gists_url":"https://api.github.com/users/jat255/gists{/gist_id}","starred_url":"https://api.github.com/users/jat255/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jat255/subscriptions","organizations_url":"https://api.github.com/users/jat255/orgs","repos_url":"https://api.github.com/users/jat255/repos","events_url":"https://api.github.com/users/jat255/events{/privacy}","received_events_url":"https://api.github.com/users/jat255/received_events","type":"User","site_admin":false},"repo":{"id":30934394,"name":"seaborn","full_name":"jat255/seaborn","owner":{"login":"jat255","id":1278301,"avatar_url":"https://avatars.githubusercontent.com/u/1278301?v=3","gravatar_id":"","url":"https://api.github.com/users/jat255","html_url":"https://github.com/jat255","followers_url":"https://api.github.com/users/jat255/followers","following_url":"https://api.github.com/users/jat255/following{/other_user}","gists_url":"https://api.github.com/users/jat255/gists{/gist_id}","starred_url":"https://api.github.com/users/jat255/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jat255/subscriptions","organizations_url":"https://api.github.com/users/jat255/orgs","repos_url":"https://api.github.com/users/jat255/repos","events_url":"https://api.github.com/users/jat255/events{/privacy}","received_events_url":"https://api.github.com/users/jat255/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jat255/seaborn","description":"Statistical data visualization using matplotlib","fork":true,"url":"https://api.github.com/repos/jat255/seaborn","forks_url":"https://api.github.com/repos/jat255/seaborn/forks","keys_url":"https://api.github.com/repos/jat255/seaborn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jat255/seaborn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jat255/seaborn/teams","hooks_url":"https://api.github.com/repos/jat255/seaborn/hooks","issue_events_url":"https://api.github.com/repos/jat255/seaborn/issues/events{/number}","events_url":"https://api.github.com/repos/jat255/seaborn/events","assignees_url":"https://api.github.com/repos/jat255/seaborn/assignees{/user}","branches_url":"https://api.github.com/repos/jat255/seaborn/branches{/branch}","tags_url":"https://api.github.com/repos/jat255/seaborn/tags","blobs_url":"https://api.github.com/repos/jat255/seaborn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jat255/seaborn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jat255/seaborn/git/refs{/sha}","trees_url":"https://api.github.com/repos/jat255/seaborn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jat255/seaborn/statuses/{sha}","languages_url":"https://api.github.com/repos/jat255/seaborn/languages","stargazers_url":"https://api.github.com/repos/jat255/seaborn/stargazers","contributors_url":"https://api.github.com/repos/jat255/seaborn/contributors","subscribers_url":"https://api.github.com/repos/jat255/seaborn/subscribers","subscription_url":"https://api.github.com/repos/jat255/seaborn/subscription","commits_url":"https://api.github.com/repos/jat255/seaborn/commits{/sha}","git_commits_url":"https://api.github.com/repos/jat255/seaborn/git/commits{/sha}","comments_url":"https://api.github.com/repos/jat255/seaborn/comments{/number}","issue_comment_url":"https://api.github.com/repos/jat255/seaborn/issues/comments{/number}","contents_url":"https://api.github.com/repos/jat255/seaborn/contents/{+path}","compare_url":"https://api.github.com/repos/jat255/seaborn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jat255/seaborn/merges","archive_url":"https://api.github.com/repos/jat255/seaborn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jat255/seaborn/downloads","issues_url":"https://api.github.com/repos/jat255/seaborn/issues{/number}","pulls_url":"https://api.github.com/repos/jat255/seaborn/pulls{/number}","milestones_url":"https://api.github.com/repos/jat255/seaborn/milestones{/number}","notifications_url":"https://api.github.com/repos/jat255/seaborn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jat255/seaborn/labels{/name}","releases_url":"https://api.github.com/repos/jat255/seaborn/releases{/id}","created_at":"2015-02-17T19:48:15Z","updated_at":"2015-02-18T14:29:21Z","pushed_at":"2015-06-22T21:14:44Z","git_url":"git://github.com/jat255/seaborn.git","ssh_url":"git@github.com:jat255/seaborn.git","clone_url":"https://github.com/jat255/seaborn.git","svn_url":"https://github.com/jat255/seaborn","homepage":"http://stanford.edu/~mwaskom/software/seaborn/","size":45261,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"mwaskom:master","ref":"master","sha":"ce8fd3fcb65044325b8cc935eaa7d01a1cd77fff","user":{"login":"mwaskom","id":315810,"avatar_url":"https://avatars.githubusercontent.com/u/315810?v=3","gravatar_id":"","url":"https://api.github.com/users/mwaskom","html_url":"https://github.com/mwaskom","followers_url":"https://api.github.com/users/mwaskom/followers","following_url":"https://api.github.com/users/mwaskom/following{/other_user}","gists_url":"https://api.github.com/users/mwaskom/gists{/gist_id}","starred_url":"https://api.github.com/users/mwaskom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwaskom/subscriptions","organizations_url":"https://api.github.com/users/mwaskom/orgs","repos_url":"https://api.github.com/users/mwaskom/repos","events_url":"https://api.github.com/users/mwaskom/events{/privacy}","received_events_url":"https://api.github.com/users/mwaskom/received_events","type":"User","site_admin":false},"repo":{"id":4704710,"name":"seaborn","full_name":"mwaskom/seaborn","owner":{"login":"mwaskom","id":315810,"avatar_url":"https://avatars.githubusercontent.com/u/315810?v=3","gravatar_id":"","url":"https://api.github.com/users/mwaskom","html_url":"https://github.com/mwaskom","followers_url":"https://api.github.com/users/mwaskom/followers","following_url":"https://api.github.com/users/mwaskom/following{/other_user}","gists_url":"https://api.github.com/users/mwaskom/gists{/gist_id}","starred_url":"https://api.github.com/users/mwaskom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwaskom/subscriptions","organizations_url":"https://api.github.com/users/mwaskom/orgs","repos_url":"https://api.github.com/users/mwaskom/repos","events_url":"https://api.github.com/users/mwaskom/events{/privacy}","received_events_url":"https://api.github.com/users/mwaskom/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mwaskom/seaborn","description":"Statistical data visualization using matplotlib","fork":false,"url":"https://api.github.com/repos/mwaskom/seaborn","forks_url":"https://api.github.com/repos/mwaskom/seaborn/forks","keys_url":"https://api.github.com/repos/mwaskom/seaborn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mwaskom/seaborn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mwaskom/seaborn/teams","hooks_url":"https://api.github.com/repos/mwaskom/seaborn/hooks","issue_events_url":"https://api.github.com/repos/mwaskom/seaborn/issues/events{/number}","events_url":"https://api.github.com/repos/mwaskom/seaborn/events","assignees_url":"https://api.github.com/repos/mwaskom/seaborn/assignees{/user}","branches_url":"https://api.github.com/repos/mwaskom/seaborn/branches{/branch}","tags_url":"https://api.github.com/repos/mwaskom/seaborn/tags","blobs_url":"https://api.github.com/repos/mwaskom/seaborn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mwaskom/seaborn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mwaskom/seaborn/git/refs{/sha}","trees_url":"https://api.github.com/repos/mwaskom/seaborn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mwaskom/seaborn/statuses/{sha}","languages_url":"https://api.github.com/repos/mwaskom/seaborn/languages","stargazers_url":"https://api.github.com/repos/mwaskom/seaborn/stargazers","contributors_url":"https://api.github.com/repos/mwaskom/seaborn/contributors","subscribers_url":"https://api.github.com/repos/mwaskom/seaborn/subscribers","subscription_url":"https://api.github.com/repos/mwaskom/seaborn/subscription","commits_url":"https://api.github.com/repos/mwaskom/seaborn/commits{/sha}","git_commits_url":"https://api.github.com/repos/mwaskom/seaborn/git/commits{/sha}","comments_url":"https://api.github.com/repos/mwaskom/seaborn/comments{/number}","issue_comment_url":"https://api.github.com/repos/mwaskom/seaborn/issues/comments{/number}","contents_url":"https://api.github.com/repos/mwaskom/seaborn/contents/{+path}","compare_url":"https://api.github.com/repos/mwaskom/seaborn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mwaskom/seaborn/merges","archive_url":"https://api.github.com/repos/mwaskom/seaborn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mwaskom/seaborn/downloads","issues_url":"https://api.github.com/repos/mwaskom/seaborn/issues{/number}","pulls_url":"https://api.github.com/repos/mwaskom/seaborn/pulls{/number}","milestones_url":"https://api.github.com/repos/mwaskom/seaborn/milestones{/number}","notifications_url":"https://api.github.com/repos/mwaskom/seaborn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mwaskom/seaborn/labels{/name}","releases_url":"https://api.github.com/repos/mwaskom/seaborn/releases{/id}","created_at":"2012-06-18T18:41:19Z","updated_at":"2015-06-29T13:33:55Z","pushed_at":"2015-06-29T14:46:18Z","git_url":"git://github.com/mwaskom/seaborn.git","ssh_url":"git@github.com:mwaskom/seaborn.git","clone_url":"https://github.com/mwaskom/seaborn.git","svn_url":"https://github.com/mwaskom/seaborn","homepage":"http://stanford.edu/~mwaskom/software/seaborn/","size":73582,"stargazers_count":2304,"watchers_count":2304,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":272,"mirror_url":null,"open_issues_count":42,"forks":272,"open_issues":42,"watchers":2304,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mwaskom/seaborn/pulls/606"},"html":{"href":"https://github.com/mwaskom/seaborn/pull/606"},"issue":{"href":"https://api.github.com/repos/mwaskom/seaborn/issues/606"},"comments":{"href":"https://api.github.com/repos/mwaskom/seaborn/issues/606/comments"},"review_comments":{"href":"https://api.github.com/repos/mwaskom/seaborn/pulls/606/comments"},"review_comment":{"href":"https://api.github.com/repos/mwaskom/seaborn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mwaskom/seaborn/pulls/606/commits"},"statuses":{"href":"https://api.github.com/repos/mwaskom/seaborn/statuses/2fbd4856a26b7e893071820886aa9ae1df2d3b36"}}}}