{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/fmaussion/cleo/pulls/1","id":50280889,"html_url":"https://github.com/fmaussion/cleo/pull/1","diff_url":"https://github.com/fmaussion/cleo/pull/1.diff","patch_url":"https://github.com/fmaussion/cleo/pull/1.patch","issue_url":"https://api.github.com/repos/fmaussion/cleo/issues/1","number":1,"state":"open","locked":false,"title":"add set_text() to cleo.Map","user":{"login":"fmaussion","id":10050469,"avatar_url":"https://avatars.githubusercontent.com/u/10050469?v=3","gravatar_id":"","url":"https://api.github.com/users/fmaussion","html_url":"https://github.com/fmaussion","followers_url":"https://api.github.com/users/fmaussion/followers","following_url":"https://api.github.com/users/fmaussion/following{/other_user}","gists_url":"https://api.github.com/users/fmaussion/gists{/gist_id}","starred_url":"https://api.github.com/users/fmaussion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmaussion/subscriptions","organizations_url":"https://api.github.com/users/fmaussion/orgs","repos_url":"https://api.github.com/users/fmaussion/repos","events_url":"https://api.github.com/users/fmaussion/events{/privacy}","received_events_url":"https://api.github.com/users/fmaussion/received_events","type":"User","site_admin":false},"body":"new Map.set_text() method. Text can also be added to the map using geometries, for example:\r\n\r\n```python\r\nimport cleo\r\nimport salem\r\nimport shapely.geometry as shpg\r\n\r\ng = salem.GoogleCenterMap(center_ll=(11.38, 47.26), zoom=9)\r\nm = cleo.Map(g.grid)\r\nm.set_rgb(g.get_vardata())\r\nm.set_geometry(shpg.Point(11.38, 47.26), text='Innsbruck', \r\n     text_kwargs=dict(color='crimson', style='italic', size=15))\r\nm.plot(plt.axes())\r\nplt.savefig('map.png')\r\n```\r\n\r\n![map](https://cloud.githubusercontent.com/assets/10050469/11069099/c6fd1f1a-87d4-11e5-8bfe-6d1a6cb2b9d1.png)\r\n","created_at":"2015-11-10T17:02:55Z","updated_at":"2015-11-10T17:02:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"68b8401a607fce0aea87e1294155e39abcf26ab1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fmaussion/cleo/pulls/1/commits","review_comments_url":"https://api.github.com/repos/fmaussion/cleo/pulls/1/comments","review_comment_url":"https://api.github.com/repos/fmaussion/cleo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fmaussion/cleo/issues/1/comments","statuses_url":"https://api.github.com/repos/fmaussion/cleo/statuses/6f87c61f6235c033cd16a1123f37bae094e2c0a6","head":{"label":"fmaussion:cleo-dev","ref":"cleo-dev","sha":"6f87c61f6235c033cd16a1123f37bae094e2c0a6","user":{"login":"fmaussion","id":10050469,"avatar_url":"https://avatars.githubusercontent.com/u/10050469?v=3","gravatar_id":"","url":"https://api.github.com/users/fmaussion","html_url":"https://github.com/fmaussion","followers_url":"https://api.github.com/users/fmaussion/followers","following_url":"https://api.github.com/users/fmaussion/following{/other_user}","gists_url":"https://api.github.com/users/fmaussion/gists{/gist_id}","starred_url":"https://api.github.com/users/fmaussion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmaussion/subscriptions","organizations_url":"https://api.github.com/users/fmaussion/orgs","repos_url":"https://api.github.com/users/fmaussion/repos","events_url":"https://api.github.com/users/fmaussion/events{/privacy}","received_events_url":"https://api.github.com/users/fmaussion/received_events","type":"User","site_admin":false},"repo":{"id":42768213,"name":"cleo","full_name":"fmaussion/cleo","owner":{"login":"fmaussion","id":10050469,"avatar_url":"https://avatars.githubusercontent.com/u/10050469?v=3","gravatar_id":"","url":"https://api.github.com/users/fmaussion","html_url":"https://github.com/fmaussion","followers_url":"https://api.github.com/users/fmaussion/followers","following_url":"https://api.github.com/users/fmaussion/following{/other_user}","gists_url":"https://api.github.com/users/fmaussion/gists{/gist_id}","starred_url":"https://api.github.com/users/fmaussion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmaussion/subscriptions","organizations_url":"https://api.github.com/users/fmaussion/orgs","repos_url":"https://api.github.com/users/fmaussion/repos","events_url":"https://api.github.com/users/fmaussion/events{/privacy}","received_events_url":"https://api.github.com/users/fmaussion/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fmaussion/cleo","description":"Plotting on map projections","fork":false,"url":"https://api.github.com/repos/fmaussion/cleo","forks_url":"https://api.github.com/repos/fmaussion/cleo/forks","keys_url":"https://api.github.com/repos/fmaussion/cleo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fmaussion/cleo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fmaussion/cleo/teams","hooks_url":"https://api.github.com/repos/fmaussion/cleo/hooks","issue_events_url":"https://api.github.com/repos/fmaussion/cleo/issues/events{/number}","events_url":"https://api.github.com/repos/fmaussion/cleo/events","assignees_url":"https://api.github.com/repos/fmaussion/cleo/assignees{/user}","branches_url":"https://api.github.com/repos/fmaussion/cleo/branches{/branch}","tags_url":"https://api.github.com/repos/fmaussion/cleo/tags","blobs_url":"https://api.github.com/repos/fmaussion/cleo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fmaussion/cleo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fmaussion/cleo/git/refs{/sha}","trees_url":"https://api.github.com/repos/fmaussion/cleo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fmaussion/cleo/statuses/{sha}","languages_url":"https://api.github.com/repos/fmaussion/cleo/languages","stargazers_url":"https://api.github.com/repos/fmaussion/cleo/stargazers","contributors_url":"https://api.github.com/repos/fmaussion/cleo/contributors","subscribers_url":"https://api.github.com/repos/fmaussion/cleo/subscribers","subscription_url":"https://api.github.com/repos/fmaussion/cleo/subscription","commits_url":"https://api.github.com/repos/fmaussion/cleo/commits{/sha}","git_commits_url":"https://api.github.com/repos/fmaussion/cleo/git/commits{/sha}","comments_url":"https://api.github.com/repos/fmaussion/cleo/comments{/number}","issue_comment_url":"https://api.github.com/repos/fmaussion/cleo/issues/comments{/number}","contents_url":"https://api.github.com/repos/fmaussion/cleo/contents/{+path}","compare_url":"https://api.github.com/repos/fmaussion/cleo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fmaussion/cleo/merges","archive_url":"https://api.github.com/repos/fmaussion/cleo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fmaussion/cleo/downloads","issues_url":"https://api.github.com/repos/fmaussion/cleo/issues{/number}","pulls_url":"https://api.github.com/repos/fmaussion/cleo/pulls{/number}","milestones_url":"https://api.github.com/repos/fmaussion/cleo/milestones{/number}","notifications_url":"https://api.github.com/repos/fmaussion/cleo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fmaussion/cleo/labels{/name}","releases_url":"https://api.github.com/repos/fmaussion/cleo/releases{/id}","created_at":"2015-09-19T10:01:55Z","updated_at":"2015-09-19T10:20:31Z","pushed_at":"2015-11-10T17:02:55Z","git_url":"git://github.com/fmaussion/cleo.git","ssh_url":"git@github.com:fmaussion/cleo.git","clone_url":"https://github.com/fmaussion/cleo.git","svn_url":"https://github.com/fmaussion/cleo","homepage":null,"size":9585,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"fmaussion:master","ref":"master","sha":"a772d5cc3a671f85817debce7eee9b7062c038bb","user":{"login":"fmaussion","id":10050469,"avatar_url":"https://avatars.githubusercontent.com/u/10050469?v=3","gravatar_id":"","url":"https://api.github.com/users/fmaussion","html_url":"https://github.com/fmaussion","followers_url":"https://api.github.com/users/fmaussion/followers","following_url":"https://api.github.com/users/fmaussion/following{/other_user}","gists_url":"https://api.github.com/users/fmaussion/gists{/gist_id}","starred_url":"https://api.github.com/users/fmaussion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmaussion/subscriptions","organizations_url":"https://api.github.com/users/fmaussion/orgs","repos_url":"https://api.github.com/users/fmaussion/repos","events_url":"https://api.github.com/users/fmaussion/events{/privacy}","received_events_url":"https://api.github.com/users/fmaussion/received_events","type":"User","site_admin":false},"repo":{"id":42768213,"name":"cleo","full_name":"fmaussion/cleo","owner":{"login":"fmaussion","id":10050469,"avatar_url":"https://avatars.githubusercontent.com/u/10050469?v=3","gravatar_id":"","url":"https://api.github.com/users/fmaussion","html_url":"https://github.com/fmaussion","followers_url":"https://api.github.com/users/fmaussion/followers","following_url":"https://api.github.com/users/fmaussion/following{/other_user}","gists_url":"https://api.github.com/users/fmaussion/gists{/gist_id}","starred_url":"https://api.github.com/users/fmaussion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmaussion/subscriptions","organizations_url":"https://api.github.com/users/fmaussion/orgs","repos_url":"https://api.github.com/users/fmaussion/repos","events_url":"https://api.github.com/users/fmaussion/events{/privacy}","received_events_url":"https://api.github.com/users/fmaussion/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fmaussion/cleo","description":"Plotting on map projections","fork":false,"url":"https://api.github.com/repos/fmaussion/cleo","forks_url":"https://api.github.com/repos/fmaussion/cleo/forks","keys_url":"https://api.github.com/repos/fmaussion/cleo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fmaussion/cleo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fmaussion/cleo/teams","hooks_url":"https://api.github.com/repos/fmaussion/cleo/hooks","issue_events_url":"https://api.github.com/repos/fmaussion/cleo/issues/events{/number}","events_url":"https://api.github.com/repos/fmaussion/cleo/events","assignees_url":"https://api.github.com/repos/fmaussion/cleo/assignees{/user}","branches_url":"https://api.github.com/repos/fmaussion/cleo/branches{/branch}","tags_url":"https://api.github.com/repos/fmaussion/cleo/tags","blobs_url":"https://api.github.com/repos/fmaussion/cleo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fmaussion/cleo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fmaussion/cleo/git/refs{/sha}","trees_url":"https://api.github.com/repos/fmaussion/cleo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fmaussion/cleo/statuses/{sha}","languages_url":"https://api.github.com/repos/fmaussion/cleo/languages","stargazers_url":"https://api.github.com/repos/fmaussion/cleo/stargazers","contributors_url":"https://api.github.com/repos/fmaussion/cleo/contributors","subscribers_url":"https://api.github.com/repos/fmaussion/cleo/subscribers","subscription_url":"https://api.github.com/repos/fmaussion/cleo/subscription","commits_url":"https://api.github.com/repos/fmaussion/cleo/commits{/sha}","git_commits_url":"https://api.github.com/repos/fmaussion/cleo/git/commits{/sha}","comments_url":"https://api.github.com/repos/fmaussion/cleo/comments{/number}","issue_comment_url":"https://api.github.com/repos/fmaussion/cleo/issues/comments{/number}","contents_url":"https://api.github.com/repos/fmaussion/cleo/contents/{+path}","compare_url":"https://api.github.com/repos/fmaussion/cleo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fmaussion/cleo/merges","archive_url":"https://api.github.com/repos/fmaussion/cleo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fmaussion/cleo/downloads","issues_url":"https://api.github.com/repos/fmaussion/cleo/issues{/number}","pulls_url":"https://api.github.com/repos/fmaussion/cleo/pulls{/number}","milestones_url":"https://api.github.com/repos/fmaussion/cleo/milestones{/number}","notifications_url":"https://api.github.com/repos/fmaussion/cleo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fmaussion/cleo/labels{/name}","releases_url":"https://api.github.com/repos/fmaussion/cleo/releases{/id}","created_at":"2015-09-19T10:01:55Z","updated_at":"2015-09-19T10:20:31Z","pushed_at":"2015-11-10T17:02:55Z","git_url":"git://github.com/fmaussion/cleo.git","ssh_url":"git@github.com:fmaussion/cleo.git","clone_url":"https://github.com/fmaussion/cleo.git","svn_url":"https://github.com/fmaussion/cleo","homepage":null,"size":9585,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fmaussion/cleo/pulls/1"},"html":{"href":"https://github.com/fmaussion/cleo/pull/1"},"issue":{"href":"https://api.github.com/repos/fmaussion/cleo/issues/1"},"comments":{"href":"https://api.github.com/repos/fmaussion/cleo/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/fmaussion/cleo/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/fmaussion/cleo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fmaussion/cleo/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/fmaussion/cleo/statuses/6f87c61f6235c033cd16a1123f37bae094e2c0a6"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":83,"deletions":6,"changed_files":3}}