{"action":"created","comment":{"url":"https://api.github.com/repos/nengo/nengo_viz/pulls/comments/24114884","id":24114884,"diff_hunk":"@@ -22,28 +23,50 @@ VIZ.Value = function(args) {\n     this.svg = d3.select(this.div).append('svg')\n         .attr('width', '100%')\n         .attr('height', '100%');\n-        \n+\n+    //Add the title \n+    this.svg.append(\"text\")\n+        .text(args.id)","path":"nengo_viz/static/viz_value.js","position":16,"original_position":16,"commit_id":"a4522e0ac4752348647c73b34a6510b014230be2","original_commit_id":"a4522e0ac4752348647c73b34a6510b014230be2","user":{"login":"tcstewar","id":2380772,"avatar_url":"https://avatars.githubusercontent.com/u/2380772?v=3","gravatar_id":"","url":"https://api.github.com/users/tcstewar","html_url":"https://github.com/tcstewar","followers_url":"https://api.github.com/users/tcstewar/followers","following_url":"https://api.github.com/users/tcstewar/following{/other_user}","gists_url":"https://api.github.com/users/tcstewar/gists{/gist_id}","starred_url":"https://api.github.com/users/tcstewar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcstewar/subscriptions","organizations_url":"https://api.github.com/users/tcstewar/orgs","repos_url":"https://api.github.com/users/tcstewar/repos","events_url":"https://api.github.com/users/tcstewar/events{/privacy}","received_events_url":"https://api.github.com/users/tcstewar/received_events","type":"User","site_admin":false},"body":"(note: to get at this value, it'll have to be passed in from the server.  I think the easiest way is to do that on the ```Value.javascript()``` call.)","created_at":"2015-02-04T20:09:59Z","updated_at":"2015-02-04T20:09:59Z","html_url":"https://github.com/nengo/nengo_viz/pull/37#discussion_r24114884","pull_request_url":"https://api.github.com/repos/nengo/nengo_viz/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/nengo/nengo_viz/pulls/comments/24114884"},"html":{"href":"https://github.com/nengo/nengo_viz/pull/37#discussion_r24114884"},"pull_request":{"href":"https://api.github.com/repos/nengo/nengo_viz/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/nengo/nengo_viz/pulls/37","id":28668877,"html_url":"https://github.com/nengo/nengo_viz/pull/37","diff_url":"https://github.com/nengo/nengo_viz/pull/37.diff","patch_url":"https://github.com/nengo/nengo_viz/pull/37.patch","issue_url":"https://api.github.com/repos/nengo/nengo_viz/issues/37","number":37,"state":"open","locked":false,"title":"Iss4","user":{"login":"cchan987","id":10402911,"avatar_url":"https://avatars.githubusercontent.com/u/10402911?v=3","gravatar_id":"","url":"https://api.github.com/users/cchan987","html_url":"https://github.com/cchan987","followers_url":"https://api.github.com/users/cchan987/followers","following_url":"https://api.github.com/users/cchan987/following{/other_user}","gists_url":"https://api.github.com/users/cchan987/gists{/gist_id}","starred_url":"https://api.github.com/users/cchan987/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cchan987/subscriptions","organizations_url":"https://api.github.com/users/cchan987/orgs","repos_url":"https://api.github.com/users/cchan987/repos","events_url":"https://api.github.com/users/cchan987/events{/privacy}","received_events_url":"https://api.github.com/users/cchan987/received_events","type":"User","site_admin":false},"body":"Added Title place-holder (using component id)\r\nAdded x-axis labels at fixed positions\r\nUsed same fonts as plot ticks\r\nmodified min-width and min-height for components to be slightly bigger (plots turn to a mess if they are smaller)\r\nAdded suppression of x-axis label when graph is shrunk to small size\r\nAdded a call to resize on plot creation (In case label should be suppressed)","created_at":"2015-02-04T19:48:00Z","updated_at":"2015-02-04T20:09:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bad7032e013b499dff7cb0e297b23caa92d860b0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nengo/nengo_viz/pulls/37/commits","review_comments_url":"https://api.github.com/repos/nengo/nengo_viz/pulls/37/comments","review_comment_url":"https://api.github.com/repos/nengo/nengo_viz/pulls/comments/{number}","comments_url":"https://api.github.com/repos/nengo/nengo_viz/issues/37/comments","statuses_url":"https://api.github.com/repos/nengo/nengo_viz/statuses/a4522e0ac4752348647c73b34a6510b014230be2","head":{"label":"nengo:iss4","ref":"iss4","sha":"a4522e0ac4752348647c73b34a6510b014230be2","user":{"login":"nengo","id":9197486,"avatar_url":"https://avatars.githubusercontent.com/u/9197486?v=3","gravatar_id":"","url":"https://api.github.com/users/nengo","html_url":"https://github.com/nengo","followers_url":"https://api.github.com/users/nengo/followers","following_url":"https://api.github.com/users/nengo/following{/other_user}","gists_url":"https://api.github.com/users/nengo/gists{/gist_id}","starred_url":"https://api.github.com/users/nengo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nengo/subscriptions","organizations_url":"https://api.github.com/users/nengo/orgs","repos_url":"https://api.github.com/users/nengo/repos","events_url":"https://api.github.com/users/nengo/events{/privacy}","received_events_url":"https://api.github.com/users/nengo/received_events","type":"Organization","site_admin":false},"repo":{"id":28949681,"name":"nengo_viz","full_name":"nengo/nengo_viz","owner":{"login":"nengo","id":9197486,"avatar_url":"https://avatars.githubusercontent.com/u/9197486?v=3","gravatar_id":"","url":"https://api.github.com/users/nengo","html_url":"https://github.com/nengo","followers_url":"https://api.github.com/users/nengo/followers","following_url":"https://api.github.com/users/nengo/following{/other_user}","gists_url":"https://api.github.com/users/nengo/gists{/gist_id}","starred_url":"https://api.github.com/users/nengo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nengo/subscriptions","organizations_url":"https://api.github.com/users/nengo/orgs","repos_url":"https://api.github.com/users/nengo/repos","events_url":"https://api.github.com/users/nengo/events{/privacy}","received_events_url":"https://api.github.com/users/nengo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nengo/nengo_viz","description":"Nengo interactive visualizer","fork":false,"url":"https://api.github.com/repos/nengo/nengo_viz","forks_url":"https://api.github.com/repos/nengo/nengo_viz/forks","keys_url":"https://api.github.com/repos/nengo/nengo_viz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nengo/nengo_viz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nengo/nengo_viz/teams","hooks_url":"https://api.github.com/repos/nengo/nengo_viz/hooks","issue_events_url":"https://api.github.com/repos/nengo/nengo_viz/issues/events{/number}","events_url":"https://api.github.com/repos/nengo/nengo_viz/events","assignees_url":"https://api.github.com/repos/nengo/nengo_viz/assignees{/user}","branches_url":"https://api.github.com/repos/nengo/nengo_viz/branches{/branch}","tags_url":"https://api.github.com/repos/nengo/nengo_viz/tags","blobs_url":"https://api.github.com/repos/nengo/nengo_viz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nengo/nengo_viz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nengo/nengo_viz/git/refs{/sha}","trees_url":"https://api.github.com/repos/nengo/nengo_viz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nengo/nengo_viz/statuses/{sha}","languages_url":"https://api.github.com/repos/nengo/nengo_viz/languages","stargazers_url":"https://api.github.com/repos/nengo/nengo_viz/stargazers","contributors_url":"https://api.github.com/repos/nengo/nengo_viz/contributors","subscribers_url":"https://api.github.com/repos/nengo/nengo_viz/subscribers","subscription_url":"https://api.github.com/repos/nengo/nengo_viz/subscription","commits_url":"https://api.github.com/repos/nengo/nengo_viz/commits{/sha}","git_commits_url":"https://api.github.com/repos/nengo/nengo_viz/git/commits{/sha}","comments_url":"https://api.github.com/repos/nengo/nengo_viz/comments{/number}","issue_comment_url":"https://api.github.com/repos/nengo/nengo_viz/issues/comments/{number}","contents_url":"https://api.github.com/repos/nengo/nengo_viz/contents/{+path}","compare_url":"https://api.github.com/repos/nengo/nengo_viz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nengo/nengo_viz/merges","archive_url":"https://api.github.com/repos/nengo/nengo_viz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nengo/nengo_viz/downloads","issues_url":"https://api.github.com/repos/nengo/nengo_viz/issues{/number}","pulls_url":"https://api.github.com/repos/nengo/nengo_viz/pulls{/number}","milestones_url":"https://api.github.com/repos/nengo/nengo_viz/milestones{/number}","notifications_url":"https://api.github.com/repos/nengo/nengo_viz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nengo/nengo_viz/labels{/name}","releases_url":"https://api.github.com/repos/nengo/nengo_viz/releases{/id}","created_at":"2015-01-08T05:00:06Z","updated_at":"2015-02-04T19:30:05Z","pushed_at":"2015-02-04T19:41:05Z","git_url":"git://github.com/nengo/nengo_viz.git","ssh_url":"git@github.com:nengo/nengo_viz.git","clone_url":"https://github.com/nengo/nengo_viz.git","svn_url":"https://github.com/nengo/nengo_viz","homepage":"","size":809,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":22,"forks":3,"open_issues":22,"watchers":2,"default_branch":"master"}},"base":{"label":"nengo:master","ref":"master","sha":"2b21a86e06b44963193c7168c8d5d467deedcfc6","user":{"login":"nengo","id":9197486,"avatar_url":"https://avatars.githubusercontent.com/u/9197486?v=3","gravatar_id":"","url":"https://api.github.com/users/nengo","html_url":"https://github.com/nengo","followers_url":"https://api.github.com/users/nengo/followers","following_url":"https://api.github.com/users/nengo/following{/other_user}","gists_url":"https://api.github.com/users/nengo/gists{/gist_id}","starred_url":"https://api.github.com/users/nengo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nengo/subscriptions","organizations_url":"https://api.github.com/users/nengo/orgs","repos_url":"https://api.github.com/users/nengo/repos","events_url":"https://api.github.com/users/nengo/events{/privacy}","received_events_url":"https://api.github.com/users/nengo/received_events","type":"Organization","site_admin":false},"repo":{"id":28949681,"name":"nengo_viz","full_name":"nengo/nengo_viz","owner":{"login":"nengo","id":9197486,"avatar_url":"https://avatars.githubusercontent.com/u/9197486?v=3","gravatar_id":"","url":"https://api.github.com/users/nengo","html_url":"https://github.com/nengo","followers_url":"https://api.github.com/users/nengo/followers","following_url":"https://api.github.com/users/nengo/following{/other_user}","gists_url":"https://api.github.com/users/nengo/gists{/gist_id}","starred_url":"https://api.github.com/users/nengo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nengo/subscriptions","organizations_url":"https://api.github.com/users/nengo/orgs","repos_url":"https://api.github.com/users/nengo/repos","events_url":"https://api.github.com/users/nengo/events{/privacy}","received_events_url":"https://api.github.com/users/nengo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nengo/nengo_viz","description":"Nengo interactive visualizer","fork":false,"url":"https://api.github.com/repos/nengo/nengo_viz","forks_url":"https://api.github.com/repos/nengo/nengo_viz/forks","keys_url":"https://api.github.com/repos/nengo/nengo_viz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nengo/nengo_viz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nengo/nengo_viz/teams","hooks_url":"https://api.github.com/repos/nengo/nengo_viz/hooks","issue_events_url":"https://api.github.com/repos/nengo/nengo_viz/issues/events{/number}","events_url":"https://api.github.com/repos/nengo/nengo_viz/events","assignees_url":"https://api.github.com/repos/nengo/nengo_viz/assignees{/user}","branches_url":"https://api.github.com/repos/nengo/nengo_viz/branches{/branch}","tags_url":"https://api.github.com/repos/nengo/nengo_viz/tags","blobs_url":"https://api.github.com/repos/nengo/nengo_viz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nengo/nengo_viz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nengo/nengo_viz/git/refs{/sha}","trees_url":"https://api.github.com/repos/nengo/nengo_viz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nengo/nengo_viz/statuses/{sha}","languages_url":"https://api.github.com/repos/nengo/nengo_viz/languages","stargazers_url":"https://api.github.com/repos/nengo/nengo_viz/stargazers","contributors_url":"https://api.github.com/repos/nengo/nengo_viz/contributors","subscribers_url":"https://api.github.com/repos/nengo/nengo_viz/subscribers","subscription_url":"https://api.github.com/repos/nengo/nengo_viz/subscription","commits_url":"https://api.github.com/repos/nengo/nengo_viz/commits{/sha}","git_commits_url":"https://api.github.com/repos/nengo/nengo_viz/git/commits{/sha}","comments_url":"https://api.github.com/repos/nengo/nengo_viz/comments{/number}","issue_comment_url":"https://api.github.com/repos/nengo/nengo_viz/issues/comments/{number}","contents_url":"https://api.github.com/repos/nengo/nengo_viz/contents/{+path}","compare_url":"https://api.github.com/repos/nengo/nengo_viz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nengo/nengo_viz/merges","archive_url":"https://api.github.com/repos/nengo/nengo_viz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nengo/nengo_viz/downloads","issues_url":"https://api.github.com/repos/nengo/nengo_viz/issues{/number}","pulls_url":"https://api.github.com/repos/nengo/nengo_viz/pulls{/number}","milestones_url":"https://api.github.com/repos/nengo/nengo_viz/milestones{/number}","notifications_url":"https://api.github.com/repos/nengo/nengo_viz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nengo/nengo_viz/labels{/name}","releases_url":"https://api.github.com/repos/nengo/nengo_viz/releases{/id}","created_at":"2015-01-08T05:00:06Z","updated_at":"2015-02-04T19:30:05Z","pushed_at":"2015-02-04T19:41:05Z","git_url":"git://github.com/nengo/nengo_viz.git","ssh_url":"git@github.com:nengo/nengo_viz.git","clone_url":"https://github.com/nengo/nengo_viz.git","svn_url":"https://github.com/nengo/nengo_viz","homepage":"","size":809,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":22,"forks":3,"open_issues":22,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nengo/nengo_viz/pulls/37"},"html":{"href":"https://github.com/nengo/nengo_viz/pull/37"},"issue":{"href":"https://api.github.com/repos/nengo/nengo_viz/issues/37"},"comments":{"href":"https://api.github.com/repos/nengo/nengo_viz/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/nengo/nengo_viz/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/nengo/nengo_viz/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/nengo/nengo_viz/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/nengo/nengo_viz/statuses/a4522e0ac4752348647c73b34a6510b014230be2"}}}}