{"action":"created","comment":{"url":"https://api.github.com/repos/ioam/holoviews/pulls/comments/214517406","pull_request_review_id":151597258,"id":214517406,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNDUxNzQwNg==","diff_hunk":"@@ -355,12 +356,24 @@ def _title_properties(self, key, plot, element):\n         else:\n             title = ''\n \n-        opts = dict(text=title, text_color='black')\n+        theme = self.renderer.theme\n+        if theme is not None:\n+            if theme in built_in_themes:  # built-in-theme name\n+                opts = built_in_themes[theme]._json['attrs']['Title']\n+            else:  # theme object\n+                opts = theme._json['attrs']['Title']\n+            opts['text'] = title\n+        else:\n+            opts = dict(text=title, text_color='black')","path":"holoviews/plotting/bokeh/element.py","position":21,"original_position":21,"commit_id":"7dda8437327e38d0adcec06f69f6941491039f47","original_commit_id":"7dda8437327e38d0adcec06f69f6941491039f47","user":{"login":"ahuang11","id":15331990,"node_id":"MDQ6VXNlcjE1MzMxOTkw","avatar_url":"https://avatars2.githubusercontent.com/u/15331990?v=4","gravatar_id":"","url":"https://api.github.com/users/ahuang11","html_url":"https://github.com/ahuang11","followers_url":"https://api.github.com/users/ahuang11/followers","following_url":"https://api.github.com/users/ahuang11/following{/other_user}","gists_url":"https://api.github.com/users/ahuang11/gists{/gist_id}","starred_url":"https://api.github.com/users/ahuang11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahuang11/subscriptions","organizations_url":"https://api.github.com/users/ahuang11/orgs","repos_url":"https://api.github.com/users/ahuang11/repos","events_url":"https://api.github.com/users/ahuang11/events{/privacy}","received_events_url":"https://api.github.com/users/ahuang11/received_events","type":"User","site_admin":false},"body":"I feel like there's a way to simplify this logic, but my brain isn't working right now...","created_at":"2018-09-01T16:09:15Z","updated_at":"2018-09-01T16:09:15Z","html_url":"https://github.com/ioam/holoviews/pull/2973#discussion_r214517406","pull_request_url":"https://api.github.com/repos/ioam/holoviews/pulls/2973","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/ioam/holoviews/pulls/comments/214517406"},"html":{"href":"https://github.com/ioam/holoviews/pull/2973#discussion_r214517406"},"pull_request":{"href":"https://api.github.com/repos/ioam/holoviews/pulls/2973"}}},"pull_request":{"url":"https://api.github.com/repos/ioam/holoviews/pulls/2973","id":212553136,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyNTUzMTM2","html_url":"https://github.com/ioam/holoviews/pull/2973","diff_url":"https://github.com/ioam/holoviews/pull/2973.diff","patch_url":"https://github.com/ioam/holoviews/pull/2973.patch","issue_url":"https://api.github.com/repos/ioam/holoviews/issues/2973","number":2973,"state":"open","locked":false,"title":"Fix theme's title","user":{"login":"ahuang11","id":15331990,"node_id":"MDQ6VXNlcjE1MzMxOTkw","avatar_url":"https://avatars2.githubusercontent.com/u/15331990?v=4","gravatar_id":"","url":"https://api.github.com/users/ahuang11","html_url":"https://github.com/ahuang11","followers_url":"https://api.github.com/users/ahuang11/followers","following_url":"https://api.github.com/users/ahuang11/following{/other_user}","gists_url":"https://api.github.com/users/ahuang11/gists{/gist_id}","starred_url":"https://api.github.com/users/ahuang11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahuang11/subscriptions","organizations_url":"https://api.github.com/users/ahuang11/orgs","repos_url":"https://api.github.com/users/ahuang11/repos","events_url":"https://api.github.com/users/ahuang11/events{/privacy}","received_events_url":"https://api.github.com/users/ahuang11/received_events","type":"User","site_admin":false},"body":"https://github.com/ioam/holoviews/issues/2871\r\n![image](https://user-images.githubusercontent.com/15331990/44947725-7b62c300-adc6-11e8-9522-0c109bde4b2a.png)\r\n![image](https://user-images.githubusercontent.com/15331990/44947727-80277700-adc6-11e8-9ca2-ad9330ce0885.png)\r\n![image](https://user-images.githubusercontent.com/15331990/44947729-86b5ee80-adc6-11e8-88c5-3e29110ca6f7.png)\r\n","created_at":"2018-09-01T16:08:19Z","updated_at":"2018-09-01T16:09:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a7ad2fe7cdc10eaf3806be52d374bf3940224aab","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ioam/holoviews/pulls/2973/commits","review_comments_url":"https://api.github.com/repos/ioam/holoviews/pulls/2973/comments","review_comment_url":"https://api.github.com/repos/ioam/holoviews/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ioam/holoviews/issues/2973/comments","statuses_url":"https://api.github.com/repos/ioam/holoviews/statuses/7dda8437327e38d0adcec06f69f6941491039f47","head":{"label":"ioam:theme_title","ref":"theme_title","sha":"7dda8437327e38d0adcec06f69f6941491039f47","user":{"login":"ioam","id":1693676,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2OTM2NzY=","avatar_url":"https://avatars2.githubusercontent.com/u/1693676?v=4","gravatar_id":"","url":"https://api.github.com/users/ioam","html_url":"https://github.com/ioam","followers_url":"https://api.github.com/users/ioam/followers","following_url":"https://api.github.com/users/ioam/following{/other_user}","gists_url":"https://api.github.com/users/ioam/gists{/gist_id}","starred_url":"https://api.github.com/users/ioam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ioam/subscriptions","organizations_url":"https://api.github.com/users/ioam/orgs","repos_url":"https://api.github.com/users/ioam/repos","events_url":"https://api.github.com/users/ioam/events{/privacy}","received_events_url":"https://api.github.com/users/ioam/received_events","type":"Organization","site_admin":false},"repo":{"id":19542768,"node_id":"MDEwOlJlcG9zaXRvcnkxOTU0Mjc2OA==","name":"holoviews","full_name":"ioam/holoviews","owner":{"login":"ioam","id":1693676,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2OTM2NzY=","avatar_url":"https://avatars2.githubusercontent.com/u/1693676?v=4","gravatar_id":"","url":"https://api.github.com/users/ioam","html_url":"https://github.com/ioam","followers_url":"https://api.github.com/users/ioam/followers","following_url":"https://api.github.com/users/ioam/following{/other_user}","gists_url":"https://api.github.com/users/ioam/gists{/gist_id}","starred_url":"https://api.github.com/users/ioam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ioam/subscriptions","organizations_url":"https://api.github.com/users/ioam/orgs","repos_url":"https://api.github.com/users/ioam/repos","events_url":"https://api.github.com/users/ioam/events{/privacy}","received_events_url":"https://api.github.com/users/ioam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ioam/holoviews","description":"Stop plotting your data - annotate your data and let it visualize itself.","fork":false,"url":"https://api.github.com/repos/ioam/holoviews","forks_url":"https://api.github.com/repos/ioam/holoviews/forks","keys_url":"https://api.github.com/repos/ioam/holoviews/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ioam/holoviews/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ioam/holoviews/teams","hooks_url":"https://api.github.com/repos/ioam/holoviews/hooks","issue_events_url":"https://api.github.com/repos/ioam/holoviews/issues/events{/number}","events_url":"https://api.github.com/repos/ioam/holoviews/events","assignees_url":"https://api.github.com/repos/ioam/holoviews/assignees{/user}","branches_url":"https://api.github.com/repos/ioam/holoviews/branches{/branch}","tags_url":"https://api.github.com/repos/ioam/holoviews/tags","blobs_url":"https://api.github.com/repos/ioam/holoviews/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ioam/holoviews/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ioam/holoviews/git/refs{/sha}","trees_url":"https://api.github.com/repos/ioam/holoviews/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ioam/holoviews/statuses/{sha}","languages_url":"https://api.github.com/repos/ioam/holoviews/languages","stargazers_url":"https://api.github.com/repos/ioam/holoviews/stargazers","contributors_url":"https://api.github.com/repos/ioam/holoviews/contributors","subscribers_url":"https://api.github.com/repos/ioam/holoviews/subscribers","subscription_url":"https://api.github.com/repos/ioam/holoviews/subscription","commits_url":"https://api.github.com/repos/ioam/holoviews/commits{/sha}","git_commits_url":"https://api.github.com/repos/ioam/holoviews/git/commits{/sha}","comments_url":"https://api.github.com/repos/ioam/holoviews/comments{/number}","issue_comment_url":"https://api.github.com/repos/ioam/holoviews/issues/comments{/number}","contents_url":"https://api.github.com/repos/ioam/holoviews/contents/{+path}","compare_url":"https://api.github.com/repos/ioam/holoviews/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ioam/holoviews/merges","archive_url":"https://api.github.com/repos/ioam/holoviews/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ioam/holoviews/downloads","issues_url":"https://api.github.com/repos/ioam/holoviews/issues{/number}","pulls_url":"https://api.github.com/repos/ioam/holoviews/pulls{/number}","milestones_url":"https://api.github.com/repos/ioam/holoviews/milestones{/number}","notifications_url":"https://api.github.com/repos/ioam/holoviews/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ioam/holoviews/labels{/name}","releases_url":"https://api.github.com/repos/ioam/holoviews/releases{/id}","deployments_url":"https://api.github.com/repos/ioam/holoviews/deployments","created_at":"2014-05-07T16:59:22Z","updated_at":"2018-09-01T00:16:57Z","pushed_at":"2018-09-01T16:08:19Z","git_url":"git://github.com/ioam/holoviews.git","ssh_url":"git@github.com:ioam/holoviews.git","clone_url":"https://github.com/ioam/holoviews.git","svn_url":"https://github.com/ioam/holoviews","homepage":"http://holoviews.org","size":19844,"stargazers_count":918,"watchers_count":918,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":139,"mirror_url":null,"archived":false,"open_issues_count":518,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":139,"open_issues":518,"watchers":918,"default_branch":"master"}},"base":{"label":"ioam:master","ref":"master","sha":"39bdc02a66a5645025340e7215b061411940e2b8","user":{"login":"ioam","id":1693676,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2OTM2NzY=","avatar_url":"https://avatars2.githubusercontent.com/u/1693676?v=4","gravatar_id":"","url":"https://api.github.com/users/ioam","html_url":"https://github.com/ioam","followers_url":"https://api.github.com/users/ioam/followers","following_url":"https://api.github.com/users/ioam/following{/other_user}","gists_url":"https://api.github.com/users/ioam/gists{/gist_id}","starred_url":"https://api.github.com/users/ioam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ioam/subscriptions","organizations_url":"https://api.github.com/users/ioam/orgs","repos_url":"https://api.github.com/users/ioam/repos","events_url":"https://api.github.com/users/ioam/events{/privacy}","received_events_url":"https://api.github.com/users/ioam/received_events","type":"Organization","site_admin":false},"repo":{"id":19542768,"node_id":"MDEwOlJlcG9zaXRvcnkxOTU0Mjc2OA==","name":"holoviews","full_name":"ioam/holoviews","owner":{"login":"ioam","id":1693676,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2OTM2NzY=","avatar_url":"https://avatars2.githubusercontent.com/u/1693676?v=4","gravatar_id":"","url":"https://api.github.com/users/ioam","html_url":"https://github.com/ioam","followers_url":"https://api.github.com/users/ioam/followers","following_url":"https://api.github.com/users/ioam/following{/other_user}","gists_url":"https://api.github.com/users/ioam/gists{/gist_id}","starred_url":"https://api.github.com/users/ioam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ioam/subscriptions","organizations_url":"https://api.github.com/users/ioam/orgs","repos_url":"https://api.github.com/users/ioam/repos","events_url":"https://api.github.com/users/ioam/events{/privacy}","received_events_url":"https://api.github.com/users/ioam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ioam/holoviews","description":"Stop plotting your data - annotate your data and let it visualize itself.","fork":false,"url":"https://api.github.com/repos/ioam/holoviews","forks_url":"https://api.github.com/repos/ioam/holoviews/forks","keys_url":"https://api.github.com/repos/ioam/holoviews/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ioam/holoviews/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ioam/holoviews/teams","hooks_url":"https://api.github.com/repos/ioam/holoviews/hooks","issue_events_url":"https://api.github.com/repos/ioam/holoviews/issues/events{/number}","events_url":"https://api.github.com/repos/ioam/holoviews/events","assignees_url":"https://api.github.com/repos/ioam/holoviews/assignees{/user}","branches_url":"https://api.github.com/repos/ioam/holoviews/branches{/branch}","tags_url":"https://api.github.com/repos/ioam/holoviews/tags","blobs_url":"https://api.github.com/repos/ioam/holoviews/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ioam/holoviews/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ioam/holoviews/git/refs{/sha}","trees_url":"https://api.github.com/repos/ioam/holoviews/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ioam/holoviews/statuses/{sha}","languages_url":"https://api.github.com/repos/ioam/holoviews/languages","stargazers_url":"https://api.github.com/repos/ioam/holoviews/stargazers","contributors_url":"https://api.github.com/repos/ioam/holoviews/contributors","subscribers_url":"https://api.github.com/repos/ioam/holoviews/subscribers","subscription_url":"https://api.github.com/repos/ioam/holoviews/subscription","commits_url":"https://api.github.com/repos/ioam/holoviews/commits{/sha}","git_commits_url":"https://api.github.com/repos/ioam/holoviews/git/commits{/sha}","comments_url":"https://api.github.com/repos/ioam/holoviews/comments{/number}","issue_comment_url":"https://api.github.com/repos/ioam/holoviews/issues/comments{/number}","contents_url":"https://api.github.com/repos/ioam/holoviews/contents/{+path}","compare_url":"https://api.github.com/repos/ioam/holoviews/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ioam/holoviews/merges","archive_url":"https://api.github.com/repos/ioam/holoviews/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ioam/holoviews/downloads","issues_url":"https://api.github.com/repos/ioam/holoviews/issues{/number}","pulls_url":"https://api.github.com/repos/ioam/holoviews/pulls{/number}","milestones_url":"https://api.github.com/repos/ioam/holoviews/milestones{/number}","notifications_url":"https://api.github.com/repos/ioam/holoviews/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ioam/holoviews/labels{/name}","releases_url":"https://api.github.com/repos/ioam/holoviews/releases{/id}","deployments_url":"https://api.github.com/repos/ioam/holoviews/deployments","created_at":"2014-05-07T16:59:22Z","updated_at":"2018-09-01T00:16:57Z","pushed_at":"2018-09-01T16:08:19Z","git_url":"git://github.com/ioam/holoviews.git","ssh_url":"git@github.com:ioam/holoviews.git","clone_url":"https://github.com/ioam/holoviews.git","svn_url":"https://github.com/ioam/holoviews","homepage":"http://holoviews.org","size":19844,"stargazers_count":918,"watchers_count":918,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":139,"mirror_url":null,"archived":false,"open_issues_count":518,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":139,"open_issues":518,"watchers":918,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ioam/holoviews/pulls/2973"},"html":{"href":"https://github.com/ioam/holoviews/pull/2973"},"issue":{"href":"https://api.github.com/repos/ioam/holoviews/issues/2973"},"comments":{"href":"https://api.github.com/repos/ioam/holoviews/issues/2973/comments"},"review_comments":{"href":"https://api.github.com/repos/ioam/holoviews/pulls/2973/comments"},"review_comment":{"href":"https://api.github.com/repos/ioam/holoviews/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ioam/holoviews/pulls/2973/commits"},"statuses":{"href":"https://api.github.com/repos/ioam/holoviews/statuses/7dda8437327e38d0adcec06f69f6941491039f47"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"ahuang11"}}