{"action":"opened","number":12215,"pull_request":{"url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/12215","id":217471726,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3NDcxNzI2","html_url":"https://github.com/matplotlib/matplotlib/pull/12215","diff_url":"https://github.com/matplotlib/matplotlib/pull/12215.diff","patch_url":"https://github.com/matplotlib/matplotlib/pull/12215.patch","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/12215","number":12215,"state":"open","locked":false,"title":"Create Texts directly with all kwargs","user":{"login":"timhoffm","id":2836374,"node_id":"MDQ6VXNlcjI4MzYzNzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2836374?v=4","gravatar_id":"","url":"https://api.github.com/users/timhoffm","html_url":"https://github.com/timhoffm","followers_url":"https://api.github.com/users/timhoffm/followers","following_url":"https://api.github.com/users/timhoffm/following{/other_user}","gists_url":"https://api.github.com/users/timhoffm/gists{/gist_id}","starred_url":"https://api.github.com/users/timhoffm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timhoffm/subscriptions","organizations_url":"https://api.github.com/users/timhoffm/orgs","repos_url":"https://api.github.com/users/timhoffm/repos","events_url":"https://api.github.com/users/timhoffm/events{/privacy}","received_events_url":"https://api.github.com/users/timhoffm/received_events","type":"User","site_admin":false},"body":"## PR Summary\r\n\r\n`Axes.text()` created a default `Text` and then called `Text.update()` three times to adapt to the passed kwargs. This is a bit inefficient and cumbersome.\r\n\r\nThis PR changes the code to create effective kwargs and directly pass them to the `Text()` constructor.\r\n\r\nThis should not have any effect except being a little faster.","created_at":"2018-09-22T18:33:52Z","updated_at":"2018-09-22T18:33:52Z","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/matplotlib/matplotlib/pulls/12215/commits","review_comments_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/12215/comments","review_comment_url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/12215/comments","statuses_url":"https://api.github.com/repos/matplotlib/matplotlib/statuses/a34c6173cf03cc7407699ccfd5451450241be773","head":{"label":"timhoffm:text-kwargs","ref":"text-kwargs","sha":"a34c6173cf03cc7407699ccfd5451450241be773","user":{"login":"timhoffm","id":2836374,"node_id":"MDQ6VXNlcjI4MzYzNzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2836374?v=4","gravatar_id":"","url":"https://api.github.com/users/timhoffm","html_url":"https://github.com/timhoffm","followers_url":"https://api.github.com/users/timhoffm/followers","following_url":"https://api.github.com/users/timhoffm/following{/other_user}","gists_url":"https://api.github.com/users/timhoffm/gists{/gist_id}","starred_url":"https://api.github.com/users/timhoffm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timhoffm/subscriptions","organizations_url":"https://api.github.com/users/timhoffm/orgs","repos_url":"https://api.github.com/users/timhoffm/repos","events_url":"https://api.github.com/users/timhoffm/events{/privacy}","received_events_url":"https://api.github.com/users/timhoffm/received_events","type":"User","site_admin":false},"repo":{"id":110003219,"node_id":"MDEwOlJlcG9zaXRvcnkxMTAwMDMyMTk=","name":"matplotlib","full_name":"timhoffm/matplotlib","private":false,"owner":{"login":"timhoffm","id":2836374,"node_id":"MDQ6VXNlcjI4MzYzNzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2836374?v=4","gravatar_id":"","url":"https://api.github.com/users/timhoffm","html_url":"https://github.com/timhoffm","followers_url":"https://api.github.com/users/timhoffm/followers","following_url":"https://api.github.com/users/timhoffm/following{/other_user}","gists_url":"https://api.github.com/users/timhoffm/gists{/gist_id}","starred_url":"https://api.github.com/users/timhoffm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timhoffm/subscriptions","organizations_url":"https://api.github.com/users/timhoffm/orgs","repos_url":"https://api.github.com/users/timhoffm/repos","events_url":"https://api.github.com/users/timhoffm/events{/privacy}","received_events_url":"https://api.github.com/users/timhoffm/received_events","type":"User","site_admin":false},"html_url":"https://github.com/timhoffm/matplotlib","description":"matplotlib: plotting with Python","fork":true,"url":"https://api.github.com/repos/timhoffm/matplotlib","forks_url":"https://api.github.com/repos/timhoffm/matplotlib/forks","keys_url":"https://api.github.com/repos/timhoffm/matplotlib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timhoffm/matplotlib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timhoffm/matplotlib/teams","hooks_url":"https://api.github.com/repos/timhoffm/matplotlib/hooks","issue_events_url":"https://api.github.com/repos/timhoffm/matplotlib/issues/events{/number}","events_url":"https://api.github.com/repos/timhoffm/matplotlib/events","assignees_url":"https://api.github.com/repos/timhoffm/matplotlib/assignees{/user}","branches_url":"https://api.github.com/repos/timhoffm/matplotlib/branches{/branch}","tags_url":"https://api.github.com/repos/timhoffm/matplotlib/tags","blobs_url":"https://api.github.com/repos/timhoffm/matplotlib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timhoffm/matplotlib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timhoffm/matplotlib/git/refs{/sha}","trees_url":"https://api.github.com/repos/timhoffm/matplotlib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timhoffm/matplotlib/statuses/{sha}","languages_url":"https://api.github.com/repos/timhoffm/matplotlib/languages","stargazers_url":"https://api.github.com/repos/timhoffm/matplotlib/stargazers","contributors_url":"https://api.github.com/repos/timhoffm/matplotlib/contributors","subscribers_url":"https://api.github.com/repos/timhoffm/matplotlib/subscribers","subscription_url":"https://api.github.com/repos/timhoffm/matplotlib/subscription","commits_url":"https://api.github.com/repos/timhoffm/matplotlib/commits{/sha}","git_commits_url":"https://api.github.com/repos/timhoffm/matplotlib/git/commits{/sha}","comments_url":"https://api.github.com/repos/timhoffm/matplotlib/comments{/number}","issue_comment_url":"https://api.github.com/repos/timhoffm/matplotlib/issues/comments{/number}","contents_url":"https://api.github.com/repos/timhoffm/matplotlib/contents/{+path}","compare_url":"https://api.github.com/repos/timhoffm/matplotlib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timhoffm/matplotlib/merges","archive_url":"https://api.github.com/repos/timhoffm/matplotlib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timhoffm/matplotlib/downloads","issues_url":"https://api.github.com/repos/timhoffm/matplotlib/issues{/number}","pulls_url":"https://api.github.com/repos/timhoffm/matplotlib/pulls{/number}","milestones_url":"https://api.github.com/repos/timhoffm/matplotlib/milestones{/number}","notifications_url":"https://api.github.com/repos/timhoffm/matplotlib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timhoffm/matplotlib/labels{/name}","releases_url":"https://api.github.com/repos/timhoffm/matplotlib/releases{/id}","deployments_url":"https://api.github.com/repos/timhoffm/matplotlib/deployments","created_at":"2017-11-08T16:44:57Z","updated_at":"2018-09-22T10:47:03Z","pushed_at":"2018-09-22T18:29:22Z","git_url":"git://github.com/timhoffm/matplotlib.git","ssh_url":"git@github.com:timhoffm/matplotlib.git","clone_url":"https://github.com/timhoffm/matplotlib.git","svn_url":"https://github.com/timhoffm/matplotlib","homepage":"http://matplotlib.org/","size":334097,"stargazers_count":0,"watchers_count":0,"language":"Python","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"matplotlib:master","ref":"master","sha":"03b07fbcb30ae928f06443a4701664f060e8db94","user":{"login":"matplotlib","id":215947,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxNTk0Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/215947?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg1MTIy","name":"matplotlib","full_name":"matplotlib/matplotlib","private":false,"owner":{"login":"matplotlib","id":215947,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxNTk0Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/215947?v=4","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},"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}","deployments_url":"https://api.github.com/repos/matplotlib/matplotlib/deployments","created_at":"2011-02-19T03:17:12Z","updated_at":"2018-09-22T15:41:10Z","pushed_at":"2018-09-22T18:12:57Z","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":334233,"stargazers_count":7938,"watchers_count":7938,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3644,"mirror_url":null,"archived":false,"open_issues_count":1417,"license":null,"forks":3644,"open_issues":1417,"watchers":7938,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/12215"},"html":{"href":"https://github.com/matplotlib/matplotlib/pull/12215"},"issue":{"href":"https://api.github.com/repos/matplotlib/matplotlib/issues/12215"},"comments":{"href":"https://api.github.com/repos/matplotlib/matplotlib/issues/12215/comments"},"review_comments":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/12215/comments"},"review_comment":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/matplotlib/matplotlib/pulls/12215/commits"},"statuses":{"href":"https://api.github.com/repos/matplotlib/matplotlib/statuses/a34c6173cf03cc7407699ccfd5451450241be773"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":11,"deletions":11,"changed_files":1}}
{"actor":{"display_login":"timhoffm"}}