{"action":"created","comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/comments/38884792","id":38884792,"diff_hunk":"@@ -5588,6 +5690,7 @@ def table(self, **kwargs):\n \n     #### Data analysis\n \n+    @unpack_labeled_data(replace_names=[\"x\"], label_namer=\"x\")","path":"lib/matplotlib/axes/_axes.py","position":366,"original_position":366,"commit_id":"9846b9c6205b2abb902690195c0e05862c0ddf6e","original_commit_id":"9846b9c6205b2abb902690195c0e05862c0ddf6e","user":{"login":"tacaswell","id":199813,"avatar_url":"https://avatars.githubusercontent.com/u/199813?v=3","gravatar_id":"","url":"https://api.github.com/users/tacaswell","html_url":"https://github.com/tacaswell","followers_url":"https://api.github.com/users/tacaswell/followers","following_url":"https://api.github.com/users/tacaswell/following{/other_user}","gists_url":"https://api.github.com/users/tacaswell/gists{/gist_id}","starred_url":"https://api.github.com/users/tacaswell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tacaswell/subscriptions","organizations_url":"https://api.github.com/users/tacaswell/orgs","repos_url":"https://api.github.com/users/tacaswell/repos","events_url":"https://api.github.com/users/tacaswell/events{/privacy}","received_events_url":"https://api.github.com/users/tacaswell/received_events","type":"User","site_admin":false},"body":"'weights' should also be included and replaceable.","created_at":"2015-09-08T01:36:43Z","updated_at":"2015-09-08T01:36:43Z","html_url":"https://github.com/matplotlib/matplotlib/pull/4829#discussion_r38884792","pull_request_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4829","_links":{"self":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/comments/38884792"},"html":{"href":"https://github.com/matplotlib/matplotlib/pull/4829#discussion_r38884792"},"pull_request":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4829"}}},"pull_request":{"url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4829","id":41266061,"html_url":"https://github.com/matplotlib/matplotlib/pull/4829","diff_url":"https://github.com/matplotlib/matplotlib/pull/4829.diff","patch_url":"https://github.com/matplotlib/matplotlib/pull/4829.patch","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4829","number":4829,"state":"open","locked":false,"title":"ENH: plotting methods can unpack labeled data","user":{"login":"JanSchulz","id":890156,"avatar_url":"https://avatars.githubusercontent.com/u/890156?v=3","gravatar_id":"","url":"https://api.github.com/users/JanSchulz","html_url":"https://github.com/JanSchulz","followers_url":"https://api.github.com/users/JanSchulz/followers","following_url":"https://api.github.com/users/JanSchulz/following{/other_user}","gists_url":"https://api.github.com/users/JanSchulz/gists{/gist_id}","starred_url":"https://api.github.com/users/JanSchulz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanSchulz/subscriptions","organizations_url":"https://api.github.com/users/JanSchulz/orgs","repos_url":"https://api.github.com/users/JanSchulz/repos","events_url":"https://api.github.com/users/JanSchulz/events{/privacy}","received_events_url":"https://api.github.com/users/JanSchulz/received_events","type":"User","site_admin":false},"body":"This is an alternative implementation of a labeled data decorator (see https://github.com/matplotlib/matplotlib/pull/4787)\r\n\r\n## Todo\r\n* [x] add a whatsnew entry in `doc/users/whats_new`\r\n* [x] address comments from the code reviews\r\n* [x] `plot()` document the problems with 'color spec or next x' ambiguity when the third argument in *args is in data. \r\n* [x] regenerate pyplot so that the decorated methods gain a data kwarg (or better get all reduced to `plt.func(*args, **args)` as thats the signature of the decorator.\r\n* [x] Get someone to review the decorated functions and the code\r\n* [x] make unittests for all decorated functions\r\n* [x] get the unittests to run (mule isn't found?)\r\n* [x] Check all decorated functions if the implicit `label_namer=\"y\"` is ok. In most cases it probably is not...\r\n* [x] Check all decorated functions with `*args, **kwargs` if it would be better to supply argument names\r\n* [x] check all decorated functions if a `rename_names` list is better (i.e. don't replace everything but only a few arguments)\r\n* [x] special case `plot(...)`\r\n* [x] update docs with some information about the changed behaviour if `data=data` is passed in?\r\n* [x] change `label_namer=\"y\"` to `label_namer=None`? None is probably much more used than 'y'...\r\n* [x] how to handle variable length `*args` `positional_parameter_names={(#args: [\"names\"]}`?\r\n","created_at":"2015-07-30T18:28:57Z","updated_at":"2015-09-08T01:36:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f31cb660665a16488681ca904aba1e5c833b6b21","assignee":null,"milestone":{"url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/18","html_url":"https://github.com/matplotlib/matplotlib/milestones/next%20point%20release","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/18/labels","id":970105,"number":18,"title":"next point release","description":"Next minor release.","creator":{"login":"tacaswell","id":199813,"avatar_url":"https://avatars.githubusercontent.com/u/199813?v=3","gravatar_id":"","url":"https://api.github.com/users/tacaswell","html_url":"https://github.com/tacaswell","followers_url":"https://api.github.com/users/tacaswell/followers","following_url":"https://api.github.com/users/tacaswell/following{/other_user}","gists_url":"https://api.github.com/users/tacaswell/gists{/gist_id}","starred_url":"https://api.github.com/users/tacaswell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tacaswell/subscriptions","organizations_url":"https://api.github.com/users/tacaswell/orgs","repos_url":"https://api.github.com/users/tacaswell/repos","events_url":"https://api.github.com/users/tacaswell/events{/privacy}","received_events_url":"https://api.github.com/users/tacaswell/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":329,"state":"open","created_at":"2015-02-07T21:22:30Z","updated_at":"2015-09-08T00:49:43Z","due_on":"2015-08-31T04:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4829/commits","review_comments_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4829/comments","review_comment_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4829/comments","statuses_url":"https://api.github.com/repos/matplotlib/matplotlib/statuses/9846b9c6205b2abb902690195c0e05862c0ddf6e","head":{"label":"JanSchulz:unpack_labeled_data_alternative","ref":"unpack_labeled_data_alternative","sha":"9846b9c6205b2abb902690195c0e05862c0ddf6e","user":{"login":"JanSchulz","id":890156,"avatar_url":"https://avatars.githubusercontent.com/u/890156?v=3","gravatar_id":"","url":"https://api.github.com/users/JanSchulz","html_url":"https://github.com/JanSchulz","followers_url":"https://api.github.com/users/JanSchulz/followers","following_url":"https://api.github.com/users/JanSchulz/following{/other_user}","gists_url":"https://api.github.com/users/JanSchulz/gists{/gist_id}","starred_url":"https://api.github.com/users/JanSchulz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanSchulz/subscriptions","organizations_url":"https://api.github.com/users/JanSchulz/orgs","repos_url":"https://api.github.com/users/JanSchulz/repos","events_url":"https://api.github.com/users/JanSchulz/events{/privacy}","received_events_url":"https://api.github.com/users/JanSchulz/received_events","type":"User","site_admin":false},"repo":{"id":13937608,"name":"matplotlib","full_name":"JanSchulz/matplotlib","owner":{"login":"JanSchulz","id":890156,"avatar_url":"https://avatars.githubusercontent.com/u/890156?v=3","gravatar_id":"","url":"https://api.github.com/users/JanSchulz","html_url":"https://github.com/JanSchulz","followers_url":"https://api.github.com/users/JanSchulz/followers","following_url":"https://api.github.com/users/JanSchulz/following{/other_user}","gists_url":"https://api.github.com/users/JanSchulz/gists{/gist_id}","starred_url":"https://api.github.com/users/JanSchulz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanSchulz/subscriptions","organizations_url":"https://api.github.com/users/JanSchulz/orgs","repos_url":"https://api.github.com/users/JanSchulz/repos","events_url":"https://api.github.com/users/JanSchulz/events{/privacy}","received_events_url":"https://api.github.com/users/JanSchulz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JanSchulz/matplotlib","description":"matplotlib: plotting with Python","fork":true,"url":"https://api.github.com/repos/JanSchulz/matplotlib","forks_url":"https://api.github.com/repos/JanSchulz/matplotlib/forks","keys_url":"https://api.github.com/repos/JanSchulz/matplotlib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JanSchulz/matplotlib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JanSchulz/matplotlib/teams","hooks_url":"https://api.github.com/repos/JanSchulz/matplotlib/hooks","issue_events_url":"https://api.github.com/repos/JanSchulz/matplotlib/issues/events{/number}","events_url":"https://api.github.com/repos/JanSchulz/matplotlib/events","assignees_url":"https://api.github.com/repos/JanSchulz/matplotlib/assignees{/user}","branches_url":"https://api.github.com/repos/JanSchulz/matplotlib/branches{/branch}","tags_url":"https://api.github.com/repos/JanSchulz/matplotlib/tags","blobs_url":"https://api.github.com/repos/JanSchulz/matplotlib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JanSchulz/matplotlib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JanSchulz/matplotlib/git/refs{/sha}","trees_url":"https://api.github.com/repos/JanSchulz/matplotlib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JanSchulz/matplotlib/statuses/{sha}","languages_url":"https://api.github.com/repos/JanSchulz/matplotlib/languages","stargazers_url":"https://api.github.com/repos/JanSchulz/matplotlib/stargazers","contributors_url":"https://api.github.com/repos/JanSchulz/matplotlib/contributors","subscribers_url":"https://api.github.com/repos/JanSchulz/matplotlib/subscribers","subscription_url":"https://api.github.com/repos/JanSchulz/matplotlib/subscription","commits_url":"https://api.github.com/repos/JanSchulz/matplotlib/commits{/sha}","git_commits_url":"https://api.github.com/repos/JanSchulz/matplotlib/git/commits{/sha}","comments_url":"https://api.github.com/repos/JanSchulz/matplotlib/comments{/number}","issue_comment_url":"https://api.github.com/repos/JanSchulz/matplotlib/issues/comments{/number}","contents_url":"https://api.github.com/repos/JanSchulz/matplotlib/contents/{+path}","compare_url":"https://api.github.com/repos/JanSchulz/matplotlib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JanSchulz/matplotlib/merges","archive_url":"https://api.github.com/repos/JanSchulz/matplotlib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JanSchulz/matplotlib/downloads","issues_url":"https://api.github.com/repos/JanSchulz/matplotlib/issues{/number}","pulls_url":"https://api.github.com/repos/JanSchulz/matplotlib/pulls{/number}","milestones_url":"https://api.github.com/repos/JanSchulz/matplotlib/milestones{/number}","notifications_url":"https://api.github.com/repos/JanSchulz/matplotlib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JanSchulz/matplotlib/labels{/name}","releases_url":"https://api.github.com/repos/JanSchulz/matplotlib/releases{/id}","created_at":"2013-10-28T20:26:22Z","updated_at":"2014-01-27T16:41:22Z","pushed_at":"2015-08-31T17:29:35Z","git_url":"git://github.com/JanSchulz/matplotlib.git","ssh_url":"git@github.com:JanSchulz/matplotlib.git","clone_url":"https://github.com/JanSchulz/matplotlib.git","svn_url":"https://github.com/JanSchulz/matplotlib","homepage":"http://matplotlib.org/","size":219035,"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":"matplotlib:master","ref":"master","sha":"fb12c7b9993f6b951d23b5f6e3085163fe807204","user":{"login":"matplotlib","id":215947,"avatar_url":"https://avatars.githubusercontent.com/u/215947?v=3","gravatar_id":"","url":"https://api.github.com/users/matplotlib","html_url":"https://github.com/matplotlib","followers_url":"https://api.github.com/users/matplotlib/followers","following_url":"https://api.github.com/users/matplotlib/following{/other_user}","gists_url":"https://api.github.com/users/matplotlib/gists{/gist_id}","starred_url":"https://api.github.com/users/matplotlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matplotlib/subscriptions","organizations_url":"https://api.github.com/users/matplotlib/orgs","repos_url":"https://api.github.com/users/matplotlib/repos","events_url":"https://api.github.com/users/matplotlib/events{/privacy}","received_events_url":"https://api.github.com/users/matplotlib/received_events","type":"Organization","site_admin":false},"repo":{"id":1385122,"name":"matplotlib","full_name":"matplotlib/matplotlib","owner":{"login":"matplotlib","id":215947,"avatar_url":"https://avatars.githubusercontent.com/u/215947?v=3","gravatar_id":"","url":"https://api.github.com/users/matplotlib","html_url":"https://github.com/matplotlib","followers_url":"https://api.github.com/users/matplotlib/followers","following_url":"https://api.github.com/users/matplotlib/following{/other_user}","gists_url":"https://api.github.com/users/matplotlib/gists{/gist_id}","starred_url":"https://api.github.com/users/matplotlib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matplotlib/subscriptions","organizations_url":"https://api.github.com/users/matplotlib/orgs","repos_url":"https://api.github.com/users/matplotlib/repos","events_url":"https://api.github.com/users/matplotlib/events{/privacy}","received_events_url":"https://api.github.com/users/matplotlib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/matplotlib/matplotlib","description":"matplotlib: plotting with Python","fork":false,"url":"https://api.github.com/repos/matplotlib/matplotlib","forks_url":"https://api.github.com/repos/matplotlib/matplotlib/forks","keys_url":"https://api.github.com/repos/matplotlib/matplotlib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matplotlib/matplotlib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matplotlib/matplotlib/teams","hooks_url":"https://api.github.com/repos/matplotlib/matplotlib/hooks","issue_events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/events{/number}","events_url":"https://api.github.com/repos/matplotlib/matplotlib/events","assignees_url":"https://api.github.com/repos/matplotlib/matplotlib/assignees{/user}","branches_url":"https://api.github.com/repos/matplotlib/matplotlib/branches{/branch}","tags_url":"https://api.github.com/repos/matplotlib/matplotlib/tags","blobs_url":"https://api.github.com/repos/matplotlib/matplotlib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matplotlib/matplotlib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matplotlib/matplotlib/git/refs{/sha}","trees_url":"https://api.github.com/repos/matplotlib/matplotlib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matplotlib/matplotlib/statuses/{sha}","languages_url":"https://api.github.com/repos/matplotlib/matplotlib/languages","stargazers_url":"https://api.github.com/repos/matplotlib/matplotlib/stargazers","contributors_url":"https://api.github.com/repos/matplotlib/matplotlib/contributors","subscribers_url":"https://api.github.com/repos/matplotlib/matplotlib/subscribers","subscription_url":"https://api.github.com/repos/matplotlib/matplotlib/subscription","commits_url":"https://api.github.com/repos/matplotlib/matplotlib/commits{/sha}","git_commits_url":"https://api.github.com/repos/matplotlib/matplotlib/git/commits{/sha}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/comments{/number}","issue_comment_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/comments{/number}","contents_url":"https://api.github.com/repos/matplotlib/matplotlib/contents/{+path}","compare_url":"https://api.github.com/repos/matplotlib/matplotlib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matplotlib/matplotlib/merges","archive_url":"https://api.github.com/repos/matplotlib/matplotlib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matplotlib/matplotlib/downloads","issues_url":"https://api.github.com/repos/matplotlib/matplotlib/issues{/number}","pulls_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls{/number}","milestones_url":"https://api.github.com/repos/matplotlib/matplotlib/milestones{/number}","notifications_url":"https://api.github.com/repos/matplotlib/matplotlib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/labels{/name}","releases_url":"https://api.github.com/repos/matplotlib/matplotlib/releases{/id}","created_at":"2011-02-19T03:17:12Z","updated_at":"2015-09-07T21:13:15Z","pushed_at":"2015-09-08T01:19:23Z","git_url":"git://github.com/matplotlib/matplotlib.git","ssh_url":"git@github.com:matplotlib/matplotlib.git","clone_url":"https://github.com/matplotlib/matplotlib.git","svn_url":"https://github.com/matplotlib/matplotlib","homepage":"http://matplotlib.org/","size":275613,"stargazers_count":2806,"watchers_count":2806,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1434,"mirror_url":null,"open_issues_count":621,"forks":1434,"open_issues":621,"watchers":2806,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4829"},"html":{"href":"https://github.com/matplotlib/matplotlib/pull/4829"},"issue":{"href":"https://api.github.com/repos/matplotlib/matplotlib/issues/4829"},"comments":{"href":"https://api.github.com/repos/matplotlib/matplotlib/issues/4829/comments"},"review_comments":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4829/comments"},"review_comment":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4829/commits"},"statuses":{"href":"https://api.github.com/repos/matplotlib/matplotlib/statuses/9846b9c6205b2abb902690195c0e05862c0ddf6e"}}}}