{"action":"created","comment":{"url":"https://api.github.com/repos/plotly/python-api/pulls/comments/33820065","id":33820065,"diff_hunk":"@@ -142,8 +122,8 @@ def iplot(figure_or_data, show_link=True, link_text='Export to plot.ly'):\n     if show_link is False:\n         link_text = ''\n \n-    plotly_platform_url = py.get_config().get('plotly_domain',\n-                                              'https://plot.ly')\n+    plotly_platform_url = tools.get_config_file().get('plotly_domain',","path":"plotly/offline/offline.py","position":105,"original_position":105,"commit_id":"4f0bb348c2357a38524be02f3c545416e8270785","original_commit_id":"4f0bb348c2357a38524be02f3c545416e8270785","user":{"login":"theengineear","id":6611546,"avatar_url":"https://avatars.githubusercontent.com/u/6611546?v=3","gravatar_id":"","url":"https://api.github.com/users/theengineear","html_url":"https://github.com/theengineear","followers_url":"https://api.github.com/users/theengineear/followers","following_url":"https://api.github.com/users/theengineear/following{/other_user}","gists_url":"https://api.github.com/users/theengineear/gists{/gist_id}","starred_url":"https://api.github.com/users/theengineear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theengineear/subscriptions","organizations_url":"https://api.github.com/users/theengineear/orgs","repos_url":"https://api.github.com/users/theengineear/repos","events_url":"https://api.github.com/users/theengineear/events{/privacy}","received_events_url":"https://api.github.com/users/theengineear/received_events","type":"User","site_admin":false},"body":"this should grab from `session` or else there can be a mismatch after a user sign-in. Just use `py.get_config()` if you can't grab session.","created_at":"2015-07-02T20:36:16Z","updated_at":"2015-07-02T20:36:16Z","html_url":"https://github.com/plotly/python-api/pull/243#discussion_r33820065","pull_request_url":"https://api.github.com/repos/plotly/python-api/pulls/243","_links":{"self":{"href":"https://api.github.com/repos/plotly/python-api/pulls/comments/33820065"},"html":{"href":"https://github.com/plotly/python-api/pull/243#discussion_r33820065"},"pull_request":{"href":"https://api.github.com/repos/plotly/python-api/pulls/243"}}},"pull_request":{"url":"https://api.github.com/repos/plotly/python-api/pulls/243","id":39122682,"html_url":"https://github.com/plotly/python-api/pull/243","diff_url":"https://github.com/plotly/python-api/pull/243.diff","patch_url":"https://github.com/plotly/python-api/pull/243.patch","issue_url":"https://api.github.com/repos/plotly/python-api/issues/243","number":243,"state":"open","locked":false,"title":"first pass at rmving load_plotly","user":{"login":"chriddyp","id":1280389,"avatar_url":"https://avatars.githubusercontent.com/u/1280389?v=3","gravatar_id":"","url":"https://api.github.com/users/chriddyp","html_url":"https://github.com/chriddyp","followers_url":"https://api.github.com/users/chriddyp/followers","following_url":"https://api.github.com/users/chriddyp/following{/other_user}","gists_url":"https://api.github.com/users/chriddyp/gists{/gist_id}","starred_url":"https://api.github.com/users/chriddyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriddyp/subscriptions","organizations_url":"https://api.github.com/users/chriddyp/orgs","repos_url":"https://api.github.com/users/chriddyp/repos","events_url":"https://api.github.com/users/chriddyp/events{/privacy}","received_events_url":"https://api.github.com/users/chriddyp/received_events","type":"User","site_admin":false},"body":"@theengineear check it!","created_at":"2015-07-02T20:29:29Z","updated_at":"2015-07-02T20:36:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6664f906ef5304f36596790016bdb99fcd8a4683","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/plotly/python-api/pulls/243/commits","review_comments_url":"https://api.github.com/repos/plotly/python-api/pulls/243/comments","review_comment_url":"https://api.github.com/repos/plotly/python-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/plotly/python-api/issues/243/comments","statuses_url":"https://api.github.com/repos/plotly/python-api/statuses/4f0bb348c2357a38524be02f3c545416e8270785","head":{"label":"plotly:dont_require_init_notebook_mode","ref":"dont_require_init_notebook_mode","sha":"4f0bb348c2357a38524be02f3c545416e8270785","user":{"login":"plotly","id":5997976,"avatar_url":"https://avatars.githubusercontent.com/u/5997976?v=3","gravatar_id":"","url":"https://api.github.com/users/plotly","html_url":"https://github.com/plotly","followers_url":"https://api.github.com/users/plotly/followers","following_url":"https://api.github.com/users/plotly/following{/other_user}","gists_url":"https://api.github.com/users/plotly/gists{/gist_id}","starred_url":"https://api.github.com/users/plotly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plotly/subscriptions","organizations_url":"https://api.github.com/users/plotly/orgs","repos_url":"https://api.github.com/users/plotly/repos","events_url":"https://api.github.com/users/plotly/events{/privacy}","received_events_url":"https://api.github.com/users/plotly/received_events","type":"Organization","site_admin":false},"repo":{"id":14579099,"name":"python-api","full_name":"plotly/python-api","owner":{"login":"plotly","id":5997976,"avatar_url":"https://avatars.githubusercontent.com/u/5997976?v=3","gravatar_id":"","url":"https://api.github.com/users/plotly","html_url":"https://github.com/plotly","followers_url":"https://api.github.com/users/plotly/followers","following_url":"https://api.github.com/users/plotly/following{/other_user}","gists_url":"https://api.github.com/users/plotly/gists{/gist_id}","starred_url":"https://api.github.com/users/plotly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plotly/subscriptions","organizations_url":"https://api.github.com/users/plotly/orgs","repos_url":"https://api.github.com/users/plotly/repos","events_url":"https://api.github.com/users/plotly/events{/privacy}","received_events_url":"https://api.github.com/users/plotly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/plotly/python-api","description":"Python-API for beautiful, interactive, & shareable graphs ","fork":false,"url":"https://api.github.com/repos/plotly/python-api","forks_url":"https://api.github.com/repos/plotly/python-api/forks","keys_url":"https://api.github.com/repos/plotly/python-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plotly/python-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plotly/python-api/teams","hooks_url":"https://api.github.com/repos/plotly/python-api/hooks","issue_events_url":"https://api.github.com/repos/plotly/python-api/issues/events{/number}","events_url":"https://api.github.com/repos/plotly/python-api/events","assignees_url":"https://api.github.com/repos/plotly/python-api/assignees{/user}","branches_url":"https://api.github.com/repos/plotly/python-api/branches{/branch}","tags_url":"https://api.github.com/repos/plotly/python-api/tags","blobs_url":"https://api.github.com/repos/plotly/python-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plotly/python-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plotly/python-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/plotly/python-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plotly/python-api/statuses/{sha}","languages_url":"https://api.github.com/repos/plotly/python-api/languages","stargazers_url":"https://api.github.com/repos/plotly/python-api/stargazers","contributors_url":"https://api.github.com/repos/plotly/python-api/contributors","subscribers_url":"https://api.github.com/repos/plotly/python-api/subscribers","subscription_url":"https://api.github.com/repos/plotly/python-api/subscription","commits_url":"https://api.github.com/repos/plotly/python-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/plotly/python-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/plotly/python-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/plotly/python-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/plotly/python-api/contents/{+path}","compare_url":"https://api.github.com/repos/plotly/python-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plotly/python-api/merges","archive_url":"https://api.github.com/repos/plotly/python-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plotly/python-api/downloads","issues_url":"https://api.github.com/repos/plotly/python-api/issues{/number}","pulls_url":"https://api.github.com/repos/plotly/python-api/pulls{/number}","milestones_url":"https://api.github.com/repos/plotly/python-api/milestones{/number}","notifications_url":"https://api.github.com/repos/plotly/python-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plotly/python-api/labels{/name}","releases_url":"https://api.github.com/repos/plotly/python-api/releases{/id}","created_at":"2013-11-21T05:53:08Z","updated_at":"2015-07-02T19:54:29Z","pushed_at":"2015-07-02T20:29:30Z","git_url":"git://github.com/plotly/python-api.git","ssh_url":"git@github.com:plotly/python-api.git","clone_url":"https://github.com/plotly/python-api.git","svn_url":"https://github.com/plotly/python-api","homepage":"https://plot.ly/python/","size":6812,"stargazers_count":199,"watchers_count":199,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":57,"forks":58,"open_issues":57,"watchers":199,"default_branch":"master"}},"base":{"label":"plotly:offline","ref":"offline","sha":"767d01c0ecd75406c8a9d8960f2ae4cbc803ddd4","user":{"login":"plotly","id":5997976,"avatar_url":"https://avatars.githubusercontent.com/u/5997976?v=3","gravatar_id":"","url":"https://api.github.com/users/plotly","html_url":"https://github.com/plotly","followers_url":"https://api.github.com/users/plotly/followers","following_url":"https://api.github.com/users/plotly/following{/other_user}","gists_url":"https://api.github.com/users/plotly/gists{/gist_id}","starred_url":"https://api.github.com/users/plotly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plotly/subscriptions","organizations_url":"https://api.github.com/users/plotly/orgs","repos_url":"https://api.github.com/users/plotly/repos","events_url":"https://api.github.com/users/plotly/events{/privacy}","received_events_url":"https://api.github.com/users/plotly/received_events","type":"Organization","site_admin":false},"repo":{"id":14579099,"name":"python-api","full_name":"plotly/python-api","owner":{"login":"plotly","id":5997976,"avatar_url":"https://avatars.githubusercontent.com/u/5997976?v=3","gravatar_id":"","url":"https://api.github.com/users/plotly","html_url":"https://github.com/plotly","followers_url":"https://api.github.com/users/plotly/followers","following_url":"https://api.github.com/users/plotly/following{/other_user}","gists_url":"https://api.github.com/users/plotly/gists{/gist_id}","starred_url":"https://api.github.com/users/plotly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plotly/subscriptions","organizations_url":"https://api.github.com/users/plotly/orgs","repos_url":"https://api.github.com/users/plotly/repos","events_url":"https://api.github.com/users/plotly/events{/privacy}","received_events_url":"https://api.github.com/users/plotly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/plotly/python-api","description":"Python-API for beautiful, interactive, & shareable graphs ","fork":false,"url":"https://api.github.com/repos/plotly/python-api","forks_url":"https://api.github.com/repos/plotly/python-api/forks","keys_url":"https://api.github.com/repos/plotly/python-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plotly/python-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plotly/python-api/teams","hooks_url":"https://api.github.com/repos/plotly/python-api/hooks","issue_events_url":"https://api.github.com/repos/plotly/python-api/issues/events{/number}","events_url":"https://api.github.com/repos/plotly/python-api/events","assignees_url":"https://api.github.com/repos/plotly/python-api/assignees{/user}","branches_url":"https://api.github.com/repos/plotly/python-api/branches{/branch}","tags_url":"https://api.github.com/repos/plotly/python-api/tags","blobs_url":"https://api.github.com/repos/plotly/python-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plotly/python-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plotly/python-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/plotly/python-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plotly/python-api/statuses/{sha}","languages_url":"https://api.github.com/repos/plotly/python-api/languages","stargazers_url":"https://api.github.com/repos/plotly/python-api/stargazers","contributors_url":"https://api.github.com/repos/plotly/python-api/contributors","subscribers_url":"https://api.github.com/repos/plotly/python-api/subscribers","subscription_url":"https://api.github.com/repos/plotly/python-api/subscription","commits_url":"https://api.github.com/repos/plotly/python-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/plotly/python-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/plotly/python-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/plotly/python-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/plotly/python-api/contents/{+path}","compare_url":"https://api.github.com/repos/plotly/python-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plotly/python-api/merges","archive_url":"https://api.github.com/repos/plotly/python-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plotly/python-api/downloads","issues_url":"https://api.github.com/repos/plotly/python-api/issues{/number}","pulls_url":"https://api.github.com/repos/plotly/python-api/pulls{/number}","milestones_url":"https://api.github.com/repos/plotly/python-api/milestones{/number}","notifications_url":"https://api.github.com/repos/plotly/python-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plotly/python-api/labels{/name}","releases_url":"https://api.github.com/repos/plotly/python-api/releases{/id}","created_at":"2013-11-21T05:53:08Z","updated_at":"2015-07-02T19:54:29Z","pushed_at":"2015-07-02T20:29:30Z","git_url":"git://github.com/plotly/python-api.git","ssh_url":"git@github.com:plotly/python-api.git","clone_url":"https://github.com/plotly/python-api.git","svn_url":"https://github.com/plotly/python-api","homepage":"https://plot.ly/python/","size":6812,"stargazers_count":199,"watchers_count":199,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":57,"forks":58,"open_issues":57,"watchers":199,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/plotly/python-api/pulls/243"},"html":{"href":"https://github.com/plotly/python-api/pull/243"},"issue":{"href":"https://api.github.com/repos/plotly/python-api/issues/243"},"comments":{"href":"https://api.github.com/repos/plotly/python-api/issues/243/comments"},"review_comments":{"href":"https://api.github.com/repos/plotly/python-api/pulls/243/comments"},"review_comment":{"href":"https://api.github.com/repos/plotly/python-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/plotly/python-api/pulls/243/commits"},"statuses":{"href":"https://api.github.com/repos/plotly/python-api/statuses/4f0bb348c2357a38524be02f3c545416e8270785"}}}}