{"action":"created","comment":{"url":"https://api.github.com/repos/grzanka/beprof/pulls/comments/51603840","id":51603840,"diff_hunk":"@@ -73,12 +86,16 @@ def __str__(self):\n         return ret\n \n def main():\n-    c = Curve([[1, 0], [2, 1], [4, 0]])\n+    c = Curve([[0, 0], [5, 5], [10, 0]])\n     print(\"X:\", c.x)\n     print(\"Y:\", c.y)\n     for x in (0.5, 1, 1.5, 2.0, 4.5):\n         print(\"x=\", x, \"y=\", c.y_at_x(x))\n \n+    nowa = c.change_domain([1, 2, 3, 5, 6, 7, 9])\n+\n+    print(\"X:\", nowa.x)","path":"beprof/curve.py","position":33,"original_position":33,"commit_id":"dbc7133a33e647a9dcf3e2466dac1d20ae821e55","original_commit_id":"dbc7133a33e647a9dcf3e2466dac1d20ae821e55","user":{"login":"grzanka","id":7374733,"avatar_url":"https://avatars.githubusercontent.com/u/7374733?v=3","gravatar_id":"","url":"https://api.github.com/users/grzanka","html_url":"https://github.com/grzanka","followers_url":"https://api.github.com/users/grzanka/followers","following_url":"https://api.github.com/users/grzanka/following{/other_user}","gists_url":"https://api.github.com/users/grzanka/gists{/gist_id}","starred_url":"https://api.github.com/users/grzanka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grzanka/subscriptions","organizations_url":"https://api.github.com/users/grzanka/orgs","repos_url":"https://api.github.com/users/grzanka/repos","events_url":"https://api.github.com/users/grzanka/events{/privacy}","received_events_url":"https://api.github.com/users/grzanka/received_events","type":"User","site_admin":false},"body":"We stick to english !","created_at":"2016-02-02T17:35:45Z","updated_at":"2016-02-02T17:35:45Z","html_url":"https://github.com/grzanka/beprof/pull/12#discussion_r51603840","pull_request_url":"https://api.github.com/repos/grzanka/beprof/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/grzanka/beprof/pulls/comments/51603840"},"html":{"href":"https://github.com/grzanka/beprof/pull/12#discussion_r51603840"},"pull_request":{"href":"https://api.github.com/repos/grzanka/beprof/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/grzanka/beprof/pulls/12","id":58014588,"html_url":"https://github.com/grzanka/beprof/pull/12","diff_url":"https://github.com/grzanka/beprof/pull/12.diff","patch_url":"https://github.com/grzanka/beprof/pull/12.patch","issue_url":"https://api.github.com/repos/grzanka/beprof/issues/12","number":12,"state":"open","locked":false,"title":"Update curve.py","user":{"login":"matkrak","id":16837323,"avatar_url":"https://avatars.githubusercontent.com/u/16837323?v=3","gravatar_id":"","url":"https://api.github.com/users/matkrak","html_url":"https://github.com/matkrak","followers_url":"https://api.github.com/users/matkrak/followers","following_url":"https://api.github.com/users/matkrak/following{/other_user}","gists_url":"https://api.github.com/users/matkrak/gists{/gist_id}","starred_url":"https://api.github.com/users/matkrak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matkrak/subscriptions","organizations_url":"https://api.github.com/users/matkrak/orgs","repos_url":"https://api.github.com/users/matkrak/repos","events_url":"https://api.github.com/users/matkrak/events{/privacy}","received_events_url":"https://api.github.com/users/matkrak/received_events","type":"User","site_admin":false},"body":"Added change_domain method.","created_at":"2016-02-02T16:47:35Z","updated_at":"2016-02-02T17:35:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"032425fcfad8b3bf119468ebdce30baa254216a1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/grzanka/beprof/pulls/12/commits","review_comments_url":"https://api.github.com/repos/grzanka/beprof/pulls/12/comments","review_comment_url":"https://api.github.com/repos/grzanka/beprof/pulls/comments{/number}","comments_url":"https://api.github.com/repos/grzanka/beprof/issues/12/comments","statuses_url":"https://api.github.com/repos/grzanka/beprof/statuses/dbc7133a33e647a9dcf3e2466dac1d20ae821e55","head":{"label":"matkrak:rebinning-methods","ref":"rebinning-methods","sha":"dbc7133a33e647a9dcf3e2466dac1d20ae821e55","user":{"login":"matkrak","id":16837323,"avatar_url":"https://avatars.githubusercontent.com/u/16837323?v=3","gravatar_id":"","url":"https://api.github.com/users/matkrak","html_url":"https://github.com/matkrak","followers_url":"https://api.github.com/users/matkrak/followers","following_url":"https://api.github.com/users/matkrak/following{/other_user}","gists_url":"https://api.github.com/users/matkrak/gists{/gist_id}","starred_url":"https://api.github.com/users/matkrak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matkrak/subscriptions","organizations_url":"https://api.github.com/users/matkrak/orgs","repos_url":"https://api.github.com/users/matkrak/repos","events_url":"https://api.github.com/users/matkrak/events{/privacy}","received_events_url":"https://api.github.com/users/matkrak/received_events","type":"User","site_admin":false},"repo":{"id":50577111,"name":"beprof","full_name":"matkrak/beprof","owner":{"login":"matkrak","id":16837323,"avatar_url":"https://avatars.githubusercontent.com/u/16837323?v=3","gravatar_id":"","url":"https://api.github.com/users/matkrak","html_url":"https://github.com/matkrak","followers_url":"https://api.github.com/users/matkrak/followers","following_url":"https://api.github.com/users/matkrak/following{/other_user}","gists_url":"https://api.github.com/users/matkrak/gists{/gist_id}","starred_url":"https://api.github.com/users/matkrak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matkrak/subscriptions","organizations_url":"https://api.github.com/users/matkrak/orgs","repos_url":"https://api.github.com/users/matkrak/repos","events_url":"https://api.github.com/users/matkrak/events{/privacy}","received_events_url":"https://api.github.com/users/matkrak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/matkrak/beprof","description":"Beam Profile Analysing Tools","fork":true,"url":"https://api.github.com/repos/matkrak/beprof","forks_url":"https://api.github.com/repos/matkrak/beprof/forks","keys_url":"https://api.github.com/repos/matkrak/beprof/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matkrak/beprof/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matkrak/beprof/teams","hooks_url":"https://api.github.com/repos/matkrak/beprof/hooks","issue_events_url":"https://api.github.com/repos/matkrak/beprof/issues/events{/number}","events_url":"https://api.github.com/repos/matkrak/beprof/events","assignees_url":"https://api.github.com/repos/matkrak/beprof/assignees{/user}","branches_url":"https://api.github.com/repos/matkrak/beprof/branches{/branch}","tags_url":"https://api.github.com/repos/matkrak/beprof/tags","blobs_url":"https://api.github.com/repos/matkrak/beprof/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matkrak/beprof/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matkrak/beprof/git/refs{/sha}","trees_url":"https://api.github.com/repos/matkrak/beprof/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matkrak/beprof/statuses/{sha}","languages_url":"https://api.github.com/repos/matkrak/beprof/languages","stargazers_url":"https://api.github.com/repos/matkrak/beprof/stargazers","contributors_url":"https://api.github.com/repos/matkrak/beprof/contributors","subscribers_url":"https://api.github.com/repos/matkrak/beprof/subscribers","subscription_url":"https://api.github.com/repos/matkrak/beprof/subscription","commits_url":"https://api.github.com/repos/matkrak/beprof/commits{/sha}","git_commits_url":"https://api.github.com/repos/matkrak/beprof/git/commits{/sha}","comments_url":"https://api.github.com/repos/matkrak/beprof/comments{/number}","issue_comment_url":"https://api.github.com/repos/matkrak/beprof/issues/comments{/number}","contents_url":"https://api.github.com/repos/matkrak/beprof/contents/{+path}","compare_url":"https://api.github.com/repos/matkrak/beprof/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matkrak/beprof/merges","archive_url":"https://api.github.com/repos/matkrak/beprof/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matkrak/beprof/downloads","issues_url":"https://api.github.com/repos/matkrak/beprof/issues{/number}","pulls_url":"https://api.github.com/repos/matkrak/beprof/pulls{/number}","milestones_url":"https://api.github.com/repos/matkrak/beprof/milestones{/number}","notifications_url":"https://api.github.com/repos/matkrak/beprof/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matkrak/beprof/labels{/name}","releases_url":"https://api.github.com/repos/matkrak/beprof/releases{/id}","deployments_url":"https://api.github.com/repos/matkrak/beprof/deployments","created_at":"2016-01-28T11:03:37Z","updated_at":"2016-01-28T11:03:37Z","pushed_at":"2016-02-02T16:46:57Z","git_url":"git://github.com/matkrak/beprof.git","ssh_url":"git@github.com:matkrak/beprof.git","clone_url":"https://github.com/matkrak/beprof.git","svn_url":"https://github.com/matkrak/beprof","homepage":null,"size":58,"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":"grzanka:master","ref":"master","sha":"74cbb537b5ff6ec5c16ea0acdc8995dd0379cd2d","user":{"login":"grzanka","id":7374733,"avatar_url":"https://avatars.githubusercontent.com/u/7374733?v=3","gravatar_id":"","url":"https://api.github.com/users/grzanka","html_url":"https://github.com/grzanka","followers_url":"https://api.github.com/users/grzanka/followers","following_url":"https://api.github.com/users/grzanka/following{/other_user}","gists_url":"https://api.github.com/users/grzanka/gists{/gist_id}","starred_url":"https://api.github.com/users/grzanka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grzanka/subscriptions","organizations_url":"https://api.github.com/users/grzanka/orgs","repos_url":"https://api.github.com/users/grzanka/repos","events_url":"https://api.github.com/users/grzanka/events{/privacy}","received_events_url":"https://api.github.com/users/grzanka/received_events","type":"User","site_admin":false},"repo":{"id":49129024,"name":"beprof","full_name":"grzanka/beprof","owner":{"login":"grzanka","id":7374733,"avatar_url":"https://avatars.githubusercontent.com/u/7374733?v=3","gravatar_id":"","url":"https://api.github.com/users/grzanka","html_url":"https://github.com/grzanka","followers_url":"https://api.github.com/users/grzanka/followers","following_url":"https://api.github.com/users/grzanka/following{/other_user}","gists_url":"https://api.github.com/users/grzanka/gists{/gist_id}","starred_url":"https://api.github.com/users/grzanka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grzanka/subscriptions","organizations_url":"https://api.github.com/users/grzanka/orgs","repos_url":"https://api.github.com/users/grzanka/repos","events_url":"https://api.github.com/users/grzanka/events{/privacy}","received_events_url":"https://api.github.com/users/grzanka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/grzanka/beprof","description":"Beam Profile Analysing Tools","fork":false,"url":"https://api.github.com/repos/grzanka/beprof","forks_url":"https://api.github.com/repos/grzanka/beprof/forks","keys_url":"https://api.github.com/repos/grzanka/beprof/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grzanka/beprof/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grzanka/beprof/teams","hooks_url":"https://api.github.com/repos/grzanka/beprof/hooks","issue_events_url":"https://api.github.com/repos/grzanka/beprof/issues/events{/number}","events_url":"https://api.github.com/repos/grzanka/beprof/events","assignees_url":"https://api.github.com/repos/grzanka/beprof/assignees{/user}","branches_url":"https://api.github.com/repos/grzanka/beprof/branches{/branch}","tags_url":"https://api.github.com/repos/grzanka/beprof/tags","blobs_url":"https://api.github.com/repos/grzanka/beprof/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grzanka/beprof/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grzanka/beprof/git/refs{/sha}","trees_url":"https://api.github.com/repos/grzanka/beprof/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grzanka/beprof/statuses/{sha}","languages_url":"https://api.github.com/repos/grzanka/beprof/languages","stargazers_url":"https://api.github.com/repos/grzanka/beprof/stargazers","contributors_url":"https://api.github.com/repos/grzanka/beprof/contributors","subscribers_url":"https://api.github.com/repos/grzanka/beprof/subscribers","subscription_url":"https://api.github.com/repos/grzanka/beprof/subscription","commits_url":"https://api.github.com/repos/grzanka/beprof/commits{/sha}","git_commits_url":"https://api.github.com/repos/grzanka/beprof/git/commits{/sha}","comments_url":"https://api.github.com/repos/grzanka/beprof/comments{/number}","issue_comment_url":"https://api.github.com/repos/grzanka/beprof/issues/comments{/number}","contents_url":"https://api.github.com/repos/grzanka/beprof/contents/{+path}","compare_url":"https://api.github.com/repos/grzanka/beprof/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grzanka/beprof/merges","archive_url":"https://api.github.com/repos/grzanka/beprof/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grzanka/beprof/downloads","issues_url":"https://api.github.com/repos/grzanka/beprof/issues{/number}","pulls_url":"https://api.github.com/repos/grzanka/beprof/pulls{/number}","milestones_url":"https://api.github.com/repos/grzanka/beprof/milestones{/number}","notifications_url":"https://api.github.com/repos/grzanka/beprof/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grzanka/beprof/labels{/name}","releases_url":"https://api.github.com/repos/grzanka/beprof/releases{/id}","deployments_url":"https://api.github.com/repos/grzanka/beprof/deployments","created_at":"2016-01-06T10:36:02Z","updated_at":"2016-01-19T11:39:37Z","pushed_at":"2016-02-02T16:47:35Z","git_url":"git://github.com/grzanka/beprof.git","ssh_url":"git@github.com:grzanka/beprof.git","clone_url":"https://github.com/grzanka/beprof.git","svn_url":"https://github.com/grzanka/beprof","homepage":null,"size":62,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/grzanka/beprof/pulls/12"},"html":{"href":"https://github.com/grzanka/beprof/pull/12"},"issue":{"href":"https://api.github.com/repos/grzanka/beprof/issues/12"},"comments":{"href":"https://api.github.com/repos/grzanka/beprof/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/grzanka/beprof/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/grzanka/beprof/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/grzanka/beprof/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/grzanka/beprof/statuses/dbc7133a33e647a9dcf3e2466dac1d20ae821e55"}}}}