{"action":"created","comment":{"url":"https://api.github.com/repos/python-visualization/folium/pulls/comments/44667009","id":44667009,"diff_hunk":"@@ -254,21 +254,42 @@ def render(self, **kwargs):\n         super(LayerControl, self).render()\n \n class Icon(MacroElement):\n-    def __init__(self, color='blue', icon='info-sign', angle=0):\n-        \"\"\"TODO : docstring here\"\"\"\n+    def __init__(self, color='blue', icon_color='white', icon='info-sign', angle=0, prefix='glyphicon'):\n+        \"\"\"Creates an Icon object, that will be rendered using Leaflet.awesome-markers.\n+\n+        Parameters\n+        ----------\n+        color : str, default 'blue'\n+            The color of the marker. You can use:\n+                ['red', 'blue', 'green', 'purple', 'orange', 'darkred', 'lightred', 'beige',\n+                 'darkblue', 'darkgreen', 'cadetblue', 'darkpurple', 'white', 'pink', 'lightblue',\n+                 'lightgreen', 'gray', 'black', 'lightgray']\n+        icon_color : str, default 'white'\n+            The color of the drawing on the marker. You can use colors above, or an html #......","path":"folium/map.py","position":17,"original_position":17,"commit_id":"6cba7c6523cdc494d31904d6bab34a78025482e8","original_commit_id":"6cba7c6523cdc494d31904d6bab34a78025482e8","user":{"login":"ocefpaf","id":950575,"avatar_url":"https://avatars.githubusercontent.com/u/950575?v=3","gravatar_id":"","url":"https://api.github.com/users/ocefpaf","html_url":"https://github.com/ocefpaf","followers_url":"https://api.github.com/users/ocefpaf/followers","following_url":"https://api.github.com/users/ocefpaf/following{/other_user}","gists_url":"https://api.github.com/users/ocefpaf/gists{/gist_id}","starred_url":"https://api.github.com/users/ocefpaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocefpaf/subscriptions","organizations_url":"https://api.github.com/users/ocefpaf/orgs","repos_url":"https://api.github.com/users/ocefpaf/repos","events_url":"https://api.github.com/users/ocefpaf/events{/privacy}","received_events_url":"https://api.github.com/users/ocefpaf/received_events","type":"User","site_admin":false},"body":"How about we change `or an html #......` to `, or an html color code`?","created_at":"2015-11-12T15:06:14Z","updated_at":"2015-11-12T15:06:14Z","html_url":"https://github.com/python-visualization/folium/pull/243#discussion_r44667009","pull_request_url":"https://api.github.com/repos/python-visualization/folium/pulls/243","_links":{"self":{"href":"https://api.github.com/repos/python-visualization/folium/pulls/comments/44667009"},"html":{"href":"https://github.com/python-visualization/folium/pull/243#discussion_r44667009"},"pull_request":{"href":"https://api.github.com/repos/python-visualization/folium/pulls/243"}}},"pull_request":{"url":"https://api.github.com/repos/python-visualization/folium/pulls/243","id":50516011,"html_url":"https://github.com/python-visualization/folium/pull/243","diff_url":"https://github.com/python-visualization/folium/pull/243.diff","patch_url":"https://github.com/python-visualization/folium/pull/243.patch","issue_url":"https://api.github.com/repos/python-visualization/folium/issues/243","number":243,"state":"open","locked":false,"title":"More docstrings and options in Icon","user":{"login":"BibMartin","id":4586863,"avatar_url":"https://avatars.githubusercontent.com/u/4586863?v=3","gravatar_id":"","url":"https://api.github.com/users/BibMartin","html_url":"https://github.com/BibMartin","followers_url":"https://api.github.com/users/BibMartin/followers","following_url":"https://api.github.com/users/BibMartin/following{/other_user}","gists_url":"https://api.github.com/users/BibMartin/gists{/gist_id}","starred_url":"https://api.github.com/users/BibMartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BibMartin/subscriptions","organizations_url":"https://api.github.com/users/BibMartin/orgs","repos_url":"https://api.github.com/users/BibMartin/repos","events_url":"https://api.github.com/users/BibMartin/events{/privacy}","received_events_url":"https://api.github.com/users/BibMartin/received_events","type":"User","site_admin":false},"body":"Yet another small one.\r\nI realized that font-awesome icons where only available when you set `prefix:'fa'`\r\n\r\nAn occasion to do the docstring that a lazy guy has left in `TODO`\r\n","created_at":"2015-11-12T14:22:51Z","updated_at":"2015-11-12T15:06:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"559782ff3e6891e7c7ac888f6d0bc4a00f4f7aa1","assignee":{"login":"ocefpaf","id":950575,"avatar_url":"https://avatars.githubusercontent.com/u/950575?v=3","gravatar_id":"","url":"https://api.github.com/users/ocefpaf","html_url":"https://github.com/ocefpaf","followers_url":"https://api.github.com/users/ocefpaf/followers","following_url":"https://api.github.com/users/ocefpaf/following{/other_user}","gists_url":"https://api.github.com/users/ocefpaf/gists{/gist_id}","starred_url":"https://api.github.com/users/ocefpaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocefpaf/subscriptions","organizations_url":"https://api.github.com/users/ocefpaf/orgs","repos_url":"https://api.github.com/users/ocefpaf/repos","events_url":"https://api.github.com/users/ocefpaf/events{/privacy}","received_events_url":"https://api.github.com/users/ocefpaf/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/python-visualization/folium/milestones/3","html_url":"https://github.com/python-visualization/folium/milestones/v0.2.0","labels_url":"https://api.github.com/repos/python-visualization/folium/milestones/3/labels","id":1264632,"number":3,"title":"v0.2.0","description":null,"creator":{"login":"ocefpaf","id":950575,"avatar_url":"https://avatars.githubusercontent.com/u/950575?v=3","gravatar_id":"","url":"https://api.github.com/users/ocefpaf","html_url":"https://github.com/ocefpaf","followers_url":"https://api.github.com/users/ocefpaf/followers","following_url":"https://api.github.com/users/ocefpaf/following{/other_user}","gists_url":"https://api.github.com/users/ocefpaf/gists{/gist_id}","starred_url":"https://api.github.com/users/ocefpaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocefpaf/subscriptions","organizations_url":"https://api.github.com/users/ocefpaf/orgs","repos_url":"https://api.github.com/users/ocefpaf/repos","events_url":"https://api.github.com/users/ocefpaf/events{/privacy}","received_events_url":"https://api.github.com/users/ocefpaf/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":6,"state":"open","created_at":"2015-08-20T14:00:03Z","updated_at":"2015-11-12T14:27:53Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/python-visualization/folium/pulls/243/commits","review_comments_url":"https://api.github.com/repos/python-visualization/folium/pulls/243/comments","review_comment_url":"https://api.github.com/repos/python-visualization/folium/pulls/comments{/number}","comments_url":"https://api.github.com/repos/python-visualization/folium/issues/243/comments","statuses_url":"https://api.github.com/repos/python-visualization/folium/statuses/6cba7c6523cdc494d31904d6bab34a78025482e8","head":{"label":"BibMartin:icon_prefix","ref":"icon_prefix","sha":"6cba7c6523cdc494d31904d6bab34a78025482e8","user":{"login":"BibMartin","id":4586863,"avatar_url":"https://avatars.githubusercontent.com/u/4586863?v=3","gravatar_id":"","url":"https://api.github.com/users/BibMartin","html_url":"https://github.com/BibMartin","followers_url":"https://api.github.com/users/BibMartin/followers","following_url":"https://api.github.com/users/BibMartin/following{/other_user}","gists_url":"https://api.github.com/users/BibMartin/gists{/gist_id}","starred_url":"https://api.github.com/users/BibMartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BibMartin/subscriptions","organizations_url":"https://api.github.com/users/BibMartin/orgs","repos_url":"https://api.github.com/users/BibMartin/repos","events_url":"https://api.github.com/users/BibMartin/events{/privacy}","received_events_url":"https://api.github.com/users/BibMartin/received_events","type":"User","site_admin":false},"repo":{"id":38824661,"name":"folium","full_name":"BibMartin/folium","owner":{"login":"BibMartin","id":4586863,"avatar_url":"https://avatars.githubusercontent.com/u/4586863?v=3","gravatar_id":"","url":"https://api.github.com/users/BibMartin","html_url":"https://github.com/BibMartin","followers_url":"https://api.github.com/users/BibMartin/followers","following_url":"https://api.github.com/users/BibMartin/following{/other_user}","gists_url":"https://api.github.com/users/BibMartin/gists{/gist_id}","starred_url":"https://api.github.com/users/BibMartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BibMartin/subscriptions","organizations_url":"https://api.github.com/users/BibMartin/orgs","repos_url":"https://api.github.com/users/BibMartin/repos","events_url":"https://api.github.com/users/BibMartin/events{/privacy}","received_events_url":"https://api.github.com/users/BibMartin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BibMartin/folium","description":"Python Data. Leaflet.js Maps. ","fork":true,"url":"https://api.github.com/repos/BibMartin/folium","forks_url":"https://api.github.com/repos/BibMartin/folium/forks","keys_url":"https://api.github.com/repos/BibMartin/folium/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BibMartin/folium/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BibMartin/folium/teams","hooks_url":"https://api.github.com/repos/BibMartin/folium/hooks","issue_events_url":"https://api.github.com/repos/BibMartin/folium/issues/events{/number}","events_url":"https://api.github.com/repos/BibMartin/folium/events","assignees_url":"https://api.github.com/repos/BibMartin/folium/assignees{/user}","branches_url":"https://api.github.com/repos/BibMartin/folium/branches{/branch}","tags_url":"https://api.github.com/repos/BibMartin/folium/tags","blobs_url":"https://api.github.com/repos/BibMartin/folium/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BibMartin/folium/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BibMartin/folium/git/refs{/sha}","trees_url":"https://api.github.com/repos/BibMartin/folium/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BibMartin/folium/statuses/{sha}","languages_url":"https://api.github.com/repos/BibMartin/folium/languages","stargazers_url":"https://api.github.com/repos/BibMartin/folium/stargazers","contributors_url":"https://api.github.com/repos/BibMartin/folium/contributors","subscribers_url":"https://api.github.com/repos/BibMartin/folium/subscribers","subscription_url":"https://api.github.com/repos/BibMartin/folium/subscription","commits_url":"https://api.github.com/repos/BibMartin/folium/commits{/sha}","git_commits_url":"https://api.github.com/repos/BibMartin/folium/git/commits{/sha}","comments_url":"https://api.github.com/repos/BibMartin/folium/comments{/number}","issue_comment_url":"https://api.github.com/repos/BibMartin/folium/issues/comments{/number}","contents_url":"https://api.github.com/repos/BibMartin/folium/contents/{+path}","compare_url":"https://api.github.com/repos/BibMartin/folium/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BibMartin/folium/merges","archive_url":"https://api.github.com/repos/BibMartin/folium/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BibMartin/folium/downloads","issues_url":"https://api.github.com/repos/BibMartin/folium/issues{/number}","pulls_url":"https://api.github.com/repos/BibMartin/folium/pulls{/number}","milestones_url":"https://api.github.com/repos/BibMartin/folium/milestones{/number}","notifications_url":"https://api.github.com/repos/BibMartin/folium/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BibMartin/folium/labels{/name}","releases_url":"https://api.github.com/repos/BibMartin/folium/releases{/id}","created_at":"2015-07-09T14:17:55Z","updated_at":"2015-07-09T14:17:56Z","pushed_at":"2015-11-12T14:20:58Z","git_url":"git://github.com/BibMartin/folium.git","ssh_url":"git@github.com:BibMartin/folium.git","clone_url":"https://github.com/BibMartin/folium.git","svn_url":"https://github.com/BibMartin/folium","homepage":"","size":3754,"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":"python-visualization:master","ref":"master","sha":"a6664e713bb5d9823a9a22a1d29a99d2d7878381","user":{"login":"python-visualization","id":9969242,"avatar_url":"https://avatars.githubusercontent.com/u/9969242?v=3","gravatar_id":"","url":"https://api.github.com/users/python-visualization","html_url":"https://github.com/python-visualization","followers_url":"https://api.github.com/users/python-visualization/followers","following_url":"https://api.github.com/users/python-visualization/following{/other_user}","gists_url":"https://api.github.com/users/python-visualization/gists{/gist_id}","starred_url":"https://api.github.com/users/python-visualization/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python-visualization/subscriptions","organizations_url":"https://api.github.com/users/python-visualization/orgs","repos_url":"https://api.github.com/users/python-visualization/repos","events_url":"https://api.github.com/users/python-visualization/events{/privacy}","received_events_url":"https://api.github.com/users/python-visualization/received_events","type":"Organization","site_admin":false},"repo":{"id":9952134,"name":"folium","full_name":"python-visualization/folium","owner":{"login":"python-visualization","id":9969242,"avatar_url":"https://avatars.githubusercontent.com/u/9969242?v=3","gravatar_id":"","url":"https://api.github.com/users/python-visualization","html_url":"https://github.com/python-visualization","followers_url":"https://api.github.com/users/python-visualization/followers","following_url":"https://api.github.com/users/python-visualization/following{/other_user}","gists_url":"https://api.github.com/users/python-visualization/gists{/gist_id}","starred_url":"https://api.github.com/users/python-visualization/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python-visualization/subscriptions","organizations_url":"https://api.github.com/users/python-visualization/orgs","repos_url":"https://api.github.com/users/python-visualization/repos","events_url":"https://api.github.com/users/python-visualization/events{/privacy}","received_events_url":"https://api.github.com/users/python-visualization/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/python-visualization/folium","description":"Python Data. Leaflet.js Maps. ","fork":false,"url":"https://api.github.com/repos/python-visualization/folium","forks_url":"https://api.github.com/repos/python-visualization/folium/forks","keys_url":"https://api.github.com/repos/python-visualization/folium/keys{/key_id}","collaborators_url":"https://api.github.com/repos/python-visualization/folium/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/python-visualization/folium/teams","hooks_url":"https://api.github.com/repos/python-visualization/folium/hooks","issue_events_url":"https://api.github.com/repos/python-visualization/folium/issues/events{/number}","events_url":"https://api.github.com/repos/python-visualization/folium/events","assignees_url":"https://api.github.com/repos/python-visualization/folium/assignees{/user}","branches_url":"https://api.github.com/repos/python-visualization/folium/branches{/branch}","tags_url":"https://api.github.com/repos/python-visualization/folium/tags","blobs_url":"https://api.github.com/repos/python-visualization/folium/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/python-visualization/folium/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/python-visualization/folium/git/refs{/sha}","trees_url":"https://api.github.com/repos/python-visualization/folium/git/trees{/sha}","statuses_url":"https://api.github.com/repos/python-visualization/folium/statuses/{sha}","languages_url":"https://api.github.com/repos/python-visualization/folium/languages","stargazers_url":"https://api.github.com/repos/python-visualization/folium/stargazers","contributors_url":"https://api.github.com/repos/python-visualization/folium/contributors","subscribers_url":"https://api.github.com/repos/python-visualization/folium/subscribers","subscription_url":"https://api.github.com/repos/python-visualization/folium/subscription","commits_url":"https://api.github.com/repos/python-visualization/folium/commits{/sha}","git_commits_url":"https://api.github.com/repos/python-visualization/folium/git/commits{/sha}","comments_url":"https://api.github.com/repos/python-visualization/folium/comments{/number}","issue_comment_url":"https://api.github.com/repos/python-visualization/folium/issues/comments{/number}","contents_url":"https://api.github.com/repos/python-visualization/folium/contents/{+path}","compare_url":"https://api.github.com/repos/python-visualization/folium/compare/{base}...{head}","merges_url":"https://api.github.com/repos/python-visualization/folium/merges","archive_url":"https://api.github.com/repos/python-visualization/folium/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/python-visualization/folium/downloads","issues_url":"https://api.github.com/repos/python-visualization/folium/issues{/number}","pulls_url":"https://api.github.com/repos/python-visualization/folium/pulls{/number}","milestones_url":"https://api.github.com/repos/python-visualization/folium/milestones{/number}","notifications_url":"https://api.github.com/repos/python-visualization/folium/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/python-visualization/folium/labels{/name}","releases_url":"https://api.github.com/repos/python-visualization/folium/releases{/id}","created_at":"2013-05-09T04:21:35Z","updated_at":"2015-11-11T16:12:05Z","pushed_at":"2015-11-12T14:22:52Z","git_url":"git://github.com/python-visualization/folium.git","ssh_url":"git@github.com:python-visualization/folium.git","clone_url":"https://github.com/python-visualization/folium.git","svn_url":"https://github.com/python-visualization/folium","homepage":"","size":4802,"stargazers_count":864,"watchers_count":864,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":123,"mirror_url":null,"open_issues_count":30,"forks":123,"open_issues":30,"watchers":864,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/python-visualization/folium/pulls/243"},"html":{"href":"https://github.com/python-visualization/folium/pull/243"},"issue":{"href":"https://api.github.com/repos/python-visualization/folium/issues/243"},"comments":{"href":"https://api.github.com/repos/python-visualization/folium/issues/243/comments"},"review_comments":{"href":"https://api.github.com/repos/python-visualization/folium/pulls/243/comments"},"review_comment":{"href":"https://api.github.com/repos/python-visualization/folium/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/python-visualization/folium/pulls/243/commits"},"statuses":{"href":"https://api.github.com/repos/python-visualization/folium/statuses/6cba7c6523cdc494d31904d6bab34a78025482e8"}}}}