{"action":"created","comment":{"url":"https://api.github.com/repos/tutorcruncher/static-maps/pulls/comments/271721304","pull_request_review_id":222181777,"id":271721304,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI3MTcyMTMwNA==","diff_hunk":"@@ -99,17 +100,30 @@ def get_tiles(self, x_range, x_correction, y_range, y_correction):\n             self.tiles.add((content, image_x, image_y))\n \n     def build_image(self):\n+        # minimum image width is set to 95px to fit copyright text\n+        box_size_w = 95","path":"app/build_map.py","position":15,"original_position":15,"commit_id":"8e948ec60da4443dbff329ec26f8d9e999b161dc","original_commit_id":"8e948ec60da4443dbff329ec26f8d9e999b161dc","user":{"login":"samuelcolvin","id":4039449,"node_id":"MDQ6VXNlcjQwMzk0NDk=","avatar_url":"https://avatars3.githubusercontent.com/u/4039449?v=4","gravatar_id":"","url":"https://api.github.com/users/samuelcolvin","html_url":"https://github.com/samuelcolvin","followers_url":"https://api.github.com/users/samuelcolvin/followers","following_url":"https://api.github.com/users/samuelcolvin/following{/other_user}","gists_url":"https://api.github.com/users/samuelcolvin/gists{/gist_id}","starred_url":"https://api.github.com/users/samuelcolvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samuelcolvin/subscriptions","organizations_url":"https://api.github.com/users/samuelcolvin/orgs","repos_url":"https://api.github.com/users/samuelcolvin/repos","events_url":"https://api.github.com/users/samuelcolvin/events{/privacy}","received_events_url":"https://api.github.com/users/samuelcolvin/received_events","type":"User","site_admin":false},"body":"perhaps easier to read if you did something like\r\n\r\n```py\r\nbox_size_w, box_size_h = 95, 8\r\ntext_pos_x, text_pos_y = 94, 8\r\nfont_size = 7\r\n```\r\n\r\nAnd same below.","created_at":"2019-04-03T12:41:20Z","updated_at":"2019-04-03T12:41:30Z","html_url":"https://github.com/tutorcruncher/static-maps/pull/1#discussion_r271721304","pull_request_url":"https://api.github.com/repos/tutorcruncher/static-maps/pulls/1","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/tutorcruncher/static-maps/pulls/comments/271721304"},"html":{"href":"https://github.com/tutorcruncher/static-maps/pull/1#discussion_r271721304"},"pull_request":{"href":"https://api.github.com/repos/tutorcruncher/static-maps/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/tutorcruncher/static-maps/pulls/1","id":266951538,"node_id":"MDExOlB1bGxSZXF1ZXN0MjY2OTUxNTM4","html_url":"https://github.com/tutorcruncher/static-maps/pull/1","diff_url":"https://github.com/tutorcruncher/static-maps/pull/1.diff","patch_url":"https://github.com/tutorcruncher/static-maps/pull/1.patch","issue_url":"https://api.github.com/repos/tutorcruncher/static-maps/issues/1","number":1,"state":"open","locked":false,"title":"Smaller Images","user":{"login":"alextford11","id":30623923,"node_id":"MDQ6VXNlcjMwNjIzOTIz","avatar_url":"https://avatars2.githubusercontent.com/u/30623923?v=4","gravatar_id":"","url":"https://api.github.com/users/alextford11","html_url":"https://github.com/alextford11","followers_url":"https://api.github.com/users/alextford11/followers","following_url":"https://api.github.com/users/alextford11/following{/other_user}","gists_url":"https://api.github.com/users/alextford11/gists{/gist_id}","starred_url":"https://api.github.com/users/alextford11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alextford11/subscriptions","organizations_url":"https://api.github.com/users/alextford11/orgs","repos_url":"https://api.github.com/users/alextford11/repos","events_url":"https://api.github.com/users/alextford11/events{/privacy}","received_events_url":"https://api.github.com/users/alextford11/received_events","type":"User","site_admin":false},"body":"* Minimum image size changed from 200x100 to 95x60","created_at":"2019-04-03T08:58:03Z","updated_at":"2019-04-03T12:41:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5796cdb2792e116d1d6b811718af87796b69eab7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/tutorcruncher/static-maps/pulls/1/commits","review_comments_url":"https://api.github.com/repos/tutorcruncher/static-maps/pulls/1/comments","review_comment_url":"https://api.github.com/repos/tutorcruncher/static-maps/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tutorcruncher/static-maps/issues/1/comments","statuses_url":"https://api.github.com/repos/tutorcruncher/static-maps/statuses/8e948ec60da4443dbff329ec26f8d9e999b161dc","head":{"label":"alextford11:smaller-sizes","ref":"smaller-sizes","sha":"8e948ec60da4443dbff329ec26f8d9e999b161dc","user":{"login":"alextford11","id":30623923,"node_id":"MDQ6VXNlcjMwNjIzOTIz","avatar_url":"https://avatars2.githubusercontent.com/u/30623923?v=4","gravatar_id":"","url":"https://api.github.com/users/alextford11","html_url":"https://github.com/alextford11","followers_url":"https://api.github.com/users/alextford11/followers","following_url":"https://api.github.com/users/alextford11/following{/other_user}","gists_url":"https://api.github.com/users/alextford11/gists{/gist_id}","starred_url":"https://api.github.com/users/alextford11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alextford11/subscriptions","organizations_url":"https://api.github.com/users/alextford11/orgs","repos_url":"https://api.github.com/users/alextford11/repos","events_url":"https://api.github.com/users/alextford11/events{/privacy}","received_events_url":"https://api.github.com/users/alextford11/received_events","type":"User","site_admin":false},"repo":{"id":179103595,"node_id":"MDEwOlJlcG9zaXRvcnkxNzkxMDM1OTU=","name":"static-maps","full_name":"alextford11/static-maps","private":false,"owner":{"login":"alextford11","id":30623923,"node_id":"MDQ6VXNlcjMwNjIzOTIz","avatar_url":"https://avatars2.githubusercontent.com/u/30623923?v=4","gravatar_id":"","url":"https://api.github.com/users/alextford11","html_url":"https://github.com/alextford11","followers_url":"https://api.github.com/users/alextford11/followers","following_url":"https://api.github.com/users/alextford11/following{/other_user}","gists_url":"https://api.github.com/users/alextford11/gists{/gist_id}","starred_url":"https://api.github.com/users/alextford11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alextford11/subscriptions","organizations_url":"https://api.github.com/users/alextford11/orgs","repos_url":"https://api.github.com/users/alextford11/repos","events_url":"https://api.github.com/users/alextford11/events{/privacy}","received_events_url":"https://api.github.com/users/alextford11/received_events","type":"User","site_admin":false},"html_url":"https://github.com/alextford11/static-maps","description":"Static maps generator using OSM data","fork":true,"url":"https://api.github.com/repos/alextford11/static-maps","forks_url":"https://api.github.com/repos/alextford11/static-maps/forks","keys_url":"https://api.github.com/repos/alextford11/static-maps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alextford11/static-maps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alextford11/static-maps/teams","hooks_url":"https://api.github.com/repos/alextford11/static-maps/hooks","issue_events_url":"https://api.github.com/repos/alextford11/static-maps/issues/events{/number}","events_url":"https://api.github.com/repos/alextford11/static-maps/events","assignees_url":"https://api.github.com/repos/alextford11/static-maps/assignees{/user}","branches_url":"https://api.github.com/repos/alextford11/static-maps/branches{/branch}","tags_url":"https://api.github.com/repos/alextford11/static-maps/tags","blobs_url":"https://api.github.com/repos/alextford11/static-maps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alextford11/static-maps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alextford11/static-maps/git/refs{/sha}","trees_url":"https://api.github.com/repos/alextford11/static-maps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alextford11/static-maps/statuses/{sha}","languages_url":"https://api.github.com/repos/alextford11/static-maps/languages","stargazers_url":"https://api.github.com/repos/alextford11/static-maps/stargazers","contributors_url":"https://api.github.com/repos/alextford11/static-maps/contributors","subscribers_url":"https://api.github.com/repos/alextford11/static-maps/subscribers","subscription_url":"https://api.github.com/repos/alextford11/static-maps/subscription","commits_url":"https://api.github.com/repos/alextford11/static-maps/commits{/sha}","git_commits_url":"https://api.github.com/repos/alextford11/static-maps/git/commits{/sha}","comments_url":"https://api.github.com/repos/alextford11/static-maps/comments{/number}","issue_comment_url":"https://api.github.com/repos/alextford11/static-maps/issues/comments{/number}","contents_url":"https://api.github.com/repos/alextford11/static-maps/contents/{+path}","compare_url":"https://api.github.com/repos/alextford11/static-maps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alextford11/static-maps/merges","archive_url":"https://api.github.com/repos/alextford11/static-maps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alextford11/static-maps/downloads","issues_url":"https://api.github.com/repos/alextford11/static-maps/issues{/number}","pulls_url":"https://api.github.com/repos/alextford11/static-maps/pulls{/number}","milestones_url":"https://api.github.com/repos/alextford11/static-maps/milestones{/number}","notifications_url":"https://api.github.com/repos/alextford11/static-maps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alextford11/static-maps/labels{/name}","releases_url":"https://api.github.com/repos/alextford11/static-maps/releases{/id}","deployments_url":"https://api.github.com/repos/alextford11/static-maps/deployments","created_at":"2019-04-02T15:09:00Z","updated_at":"2019-04-02T15:09:03Z","pushed_at":"2019-04-03T11:16:09Z","git_url":"git://github.com/alextford11/static-maps.git","ssh_url":"git@github.com:alextford11/static-maps.git","clone_url":"https://github.com/alextford11/static-maps.git","svn_url":"https://github.com/alextford11/static-maps","homepage":null,"size":86,"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":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tutorcruncher:master","ref":"master","sha":"d9cbdadb33021ca1db136b3bab9750d14c44d6ea","user":{"login":"tutorcruncher","id":3341959,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNDE5NTk=","avatar_url":"https://avatars2.githubusercontent.com/u/3341959?v=4","gravatar_id":"","url":"https://api.github.com/users/tutorcruncher","html_url":"https://github.com/tutorcruncher","followers_url":"https://api.github.com/users/tutorcruncher/followers","following_url":"https://api.github.com/users/tutorcruncher/following{/other_user}","gists_url":"https://api.github.com/users/tutorcruncher/gists{/gist_id}","starred_url":"https://api.github.com/users/tutorcruncher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tutorcruncher/subscriptions","organizations_url":"https://api.github.com/users/tutorcruncher/orgs","repos_url":"https://api.github.com/users/tutorcruncher/repos","events_url":"https://api.github.com/users/tutorcruncher/events{/privacy}","received_events_url":"https://api.github.com/users/tutorcruncher/received_events","type":"Organization","site_admin":false},"repo":{"id":162035359,"node_id":"MDEwOlJlcG9zaXRvcnkxNjIwMzUzNTk=","name":"static-maps","full_name":"tutorcruncher/static-maps","private":false,"owner":{"login":"tutorcruncher","id":3341959,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNDE5NTk=","avatar_url":"https://avatars2.githubusercontent.com/u/3341959?v=4","gravatar_id":"","url":"https://api.github.com/users/tutorcruncher","html_url":"https://github.com/tutorcruncher","followers_url":"https://api.github.com/users/tutorcruncher/followers","following_url":"https://api.github.com/users/tutorcruncher/following{/other_user}","gists_url":"https://api.github.com/users/tutorcruncher/gists{/gist_id}","starred_url":"https://api.github.com/users/tutorcruncher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tutorcruncher/subscriptions","organizations_url":"https://api.github.com/users/tutorcruncher/orgs","repos_url":"https://api.github.com/users/tutorcruncher/repos","events_url":"https://api.github.com/users/tutorcruncher/events{/privacy}","received_events_url":"https://api.github.com/users/tutorcruncher/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/tutorcruncher/static-maps","description":"Static maps generator using OSM data","fork":false,"url":"https://api.github.com/repos/tutorcruncher/static-maps","forks_url":"https://api.github.com/repos/tutorcruncher/static-maps/forks","keys_url":"https://api.github.com/repos/tutorcruncher/static-maps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tutorcruncher/static-maps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tutorcruncher/static-maps/teams","hooks_url":"https://api.github.com/repos/tutorcruncher/static-maps/hooks","issue_events_url":"https://api.github.com/repos/tutorcruncher/static-maps/issues/events{/number}","events_url":"https://api.github.com/repos/tutorcruncher/static-maps/events","assignees_url":"https://api.github.com/repos/tutorcruncher/static-maps/assignees{/user}","branches_url":"https://api.github.com/repos/tutorcruncher/static-maps/branches{/branch}","tags_url":"https://api.github.com/repos/tutorcruncher/static-maps/tags","blobs_url":"https://api.github.com/repos/tutorcruncher/static-maps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tutorcruncher/static-maps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tutorcruncher/static-maps/git/refs{/sha}","trees_url":"https://api.github.com/repos/tutorcruncher/static-maps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tutorcruncher/static-maps/statuses/{sha}","languages_url":"https://api.github.com/repos/tutorcruncher/static-maps/languages","stargazers_url":"https://api.github.com/repos/tutorcruncher/static-maps/stargazers","contributors_url":"https://api.github.com/repos/tutorcruncher/static-maps/contributors","subscribers_url":"https://api.github.com/repos/tutorcruncher/static-maps/subscribers","subscription_url":"https://api.github.com/repos/tutorcruncher/static-maps/subscription","commits_url":"https://api.github.com/repos/tutorcruncher/static-maps/commits{/sha}","git_commits_url":"https://api.github.com/repos/tutorcruncher/static-maps/git/commits{/sha}","comments_url":"https://api.github.com/repos/tutorcruncher/static-maps/comments{/number}","issue_comment_url":"https://api.github.com/repos/tutorcruncher/static-maps/issues/comments{/number}","contents_url":"https://api.github.com/repos/tutorcruncher/static-maps/contents/{+path}","compare_url":"https://api.github.com/repos/tutorcruncher/static-maps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tutorcruncher/static-maps/merges","archive_url":"https://api.github.com/repos/tutorcruncher/static-maps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tutorcruncher/static-maps/downloads","issues_url":"https://api.github.com/repos/tutorcruncher/static-maps/issues{/number}","pulls_url":"https://api.github.com/repos/tutorcruncher/static-maps/pulls{/number}","milestones_url":"https://api.github.com/repos/tutorcruncher/static-maps/milestones{/number}","notifications_url":"https://api.github.com/repos/tutorcruncher/static-maps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tutorcruncher/static-maps/labels{/name}","releases_url":"https://api.github.com/repos/tutorcruncher/static-maps/releases{/id}","deployments_url":"https://api.github.com/repos/tutorcruncher/static-maps/deployments","created_at":"2018-12-16T19:50:04Z","updated_at":"2018-12-19T00:20:25Z","pushed_at":"2019-04-03T11:16:10Z","git_url":"git://github.com/tutorcruncher/static-maps.git","ssh_url":"git@github.com:tutorcruncher/static-maps.git","clone_url":"https://github.com/tutorcruncher/static-maps.git","svn_url":"https://github.com/tutorcruncher/static-maps","homepage":null,"size":101,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tutorcruncher/static-maps/pulls/1"},"html":{"href":"https://github.com/tutorcruncher/static-maps/pull/1"},"issue":{"href":"https://api.github.com/repos/tutorcruncher/static-maps/issues/1"},"comments":{"href":"https://api.github.com/repos/tutorcruncher/static-maps/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/tutorcruncher/static-maps/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/tutorcruncher/static-maps/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tutorcruncher/static-maps/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/tutorcruncher/static-maps/statuses/8e948ec60da4443dbff329ec26f8d9e999b161dc"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"samuelcolvin"}}