{"action":"created","comment":{"url":"https://api.github.com/repos/hyperspy/hyperspy/pulls/comments/27724455","id":27724455,"diff_hunk":"@@ -352,6 +370,28 @@ def add_lines(self,\n         only_lines : {None, list of strings}\n             If not None, only the given lines will be added.\n \n+        Examples\n+        --------\n+        >>> #add_lines()","path":"hyperspy/_signals/eds.py","position":110,"original_position":110,"commit_id":"feaa9aa3823c5b1e9dfd81a182872fe641bd6001","original_commit_id":"feaa9aa3823c5b1e9dfd81a182872fe641bd6001","user":{"login":"to266","id":3384140,"avatar_url":"https://avatars.githubusercontent.com/u/3384140?v=3","gravatar_id":"","url":"https://api.github.com/users/to266","html_url":"https://github.com/to266","followers_url":"https://api.github.com/users/to266/followers","following_url":"https://api.github.com/users/to266/following{/other_user}","gists_url":"https://api.github.com/users/to266/gists{/gist_id}","starred_url":"https://api.github.com/users/to266/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/to266/subscriptions","organizations_url":"https://api.github.com/users/to266/orgs","repos_url":"https://api.github.com/users/to266/repos","events_url":"https://api.github.com/users/to266/events{/privacy}","received_events_url":"https://api.github.com/users/to266/received_events","type":"User","site_admin":false},"body":"Don't need the line","created_at":"2015-04-03T10:55:56Z","updated_at":"2015-04-03T10:55:56Z","html_url":"https://github.com/hyperspy/hyperspy/pull/497#discussion_r27724455","pull_request_url":"https://api.github.com/repos/hyperspy/hyperspy/pulls/497","_links":{"self":{"href":"https://api.github.com/repos/hyperspy/hyperspy/pulls/comments/27724455"},"html":{"href":"https://github.com/hyperspy/hyperspy/pull/497#discussion_r27724455"},"pull_request":{"href":"https://api.github.com/repos/hyperspy/hyperspy/pulls/497"}}},"pull_request":{"url":"https://api.github.com/repos/hyperspy/hyperspy/pulls/497","id":32432215,"html_url":"https://github.com/hyperspy/hyperspy/pull/497","diff_url":"https://github.com/hyperspy/hyperspy/pull/497.diff","patch_url":"https://github.com/hyperspy/hyperspy/pull/497.patch","issue_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/497","number":497,"state":"open","locked":false,"title":"NEW: Signal example in utils","user":{"login":"pburdet","id":3855190,"avatar_url":"https://avatars.githubusercontent.com/u/3855190?v=3","gravatar_id":"","url":"https://api.github.com/users/pburdet","html_url":"https://github.com/pburdet","followers_url":"https://api.github.com/users/pburdet/followers","following_url":"https://api.github.com/users/pburdet/following{/other_user}","gists_url":"https://api.github.com/users/pburdet/gists{/gist_id}","starred_url":"https://api.github.com/users/pburdet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pburdet/subscriptions","organizations_url":"https://api.github.com/users/pburdet/orgs","repos_url":"https://api.github.com/users/pburdet/repos","events_url":"https://api.github.com/users/pburdet/events{/privacy}","received_events_url":"https://api.github.com/users/pburdet/received_events","type":"User","site_admin":false},"body":"Proposition of structure to have internal hyperspy signal examples, for docstr examples and demos prupose\r\n\r\n```python\r\n\r\n    >>> s = utils.example_signals.EDS_SEM_Spectrum()\r\n    >>> s.plot(True)\r\n\r\n```\r\n\r\nTO DO\r\n--------\r\n\r\n- [x] doc\r\n- [x] tests\r\n\r\n![figure_eds_sem_spectrum_signal](https://cloud.githubusercontent.com/assets/3855190/6945053/0c83f388-d88f-11e4-8115-da7812d0d39d.png)","created_at":"2015-04-01T15:50:46Z","updated_at":"2015-04-03T10:55:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e2053a756198c41a38cf4c1368eda23e2ee59398","assignee":null,"milestone":{"url":"https://api.github.com/repos/hyperspy/hyperspy/milestones/2","html_url":"https://github.com/hyperspy/hyperspy/milestones/0.8","labels_url":"https://api.github.com/repos/hyperspy/hyperspy/milestones/2/labels","id":616623,"number":2,"title":"0.8","description":"","creator":{"login":"francisco-dlp","id":989719,"avatar_url":"https://avatars.githubusercontent.com/u/989719?v=3","gravatar_id":"","url":"https://api.github.com/users/francisco-dlp","html_url":"https://github.com/francisco-dlp","followers_url":"https://api.github.com/users/francisco-dlp/followers","following_url":"https://api.github.com/users/francisco-dlp/following{/other_user}","gists_url":"https://api.github.com/users/francisco-dlp/gists{/gist_id}","starred_url":"https://api.github.com/users/francisco-dlp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francisco-dlp/subscriptions","organizations_url":"https://api.github.com/users/francisco-dlp/orgs","repos_url":"https://api.github.com/users/francisco-dlp/repos","events_url":"https://api.github.com/users/francisco-dlp/events{/privacy}","received_events_url":"https://api.github.com/users/francisco-dlp/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":65,"state":"open","created_at":"2014-04-01T11:09:41Z","updated_at":"2015-04-02T14:55:04Z","due_on":"2015-03-26T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/hyperspy/hyperspy/pulls/497/commits","review_comments_url":"https://api.github.com/repos/hyperspy/hyperspy/pulls/497/comments","review_comment_url":"https://api.github.com/repos/hyperspy/hyperspy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/497/comments","statuses_url":"https://api.github.com/repos/hyperspy/hyperspy/statuses/feaa9aa3823c5b1e9dfd81a182872fe641bd6001","head":{"label":"pburdet:EHN_EDS_examples","ref":"EHN_EDS_examples","sha":"feaa9aa3823c5b1e9dfd81a182872fe641bd6001","user":{"login":"pburdet","id":3855190,"avatar_url":"https://avatars.githubusercontent.com/u/3855190?v=3","gravatar_id":"","url":"https://api.github.com/users/pburdet","html_url":"https://github.com/pburdet","followers_url":"https://api.github.com/users/pburdet/followers","following_url":"https://api.github.com/users/pburdet/following{/other_user}","gists_url":"https://api.github.com/users/pburdet/gists{/gist_id}","starred_url":"https://api.github.com/users/pburdet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pburdet/subscriptions","organizations_url":"https://api.github.com/users/pburdet/orgs","repos_url":"https://api.github.com/users/pburdet/repos","events_url":"https://api.github.com/users/pburdet/events{/privacy}","received_events_url":"https://api.github.com/users/pburdet/received_events","type":"User","site_admin":false},"repo":{"id":8755182,"name":"hyperspy","full_name":"pburdet/hyperspy","owner":{"login":"pburdet","id":3855190,"avatar_url":"https://avatars.githubusercontent.com/u/3855190?v=3","gravatar_id":"","url":"https://api.github.com/users/pburdet","html_url":"https://github.com/pburdet","followers_url":"https://api.github.com/users/pburdet/followers","following_url":"https://api.github.com/users/pburdet/following{/other_user}","gists_url":"https://api.github.com/users/pburdet/gists{/gist_id}","starred_url":"https://api.github.com/users/pburdet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pburdet/subscriptions","organizations_url":"https://api.github.com/users/pburdet/orgs","repos_url":"https://api.github.com/users/pburdet/repos","events_url":"https://api.github.com/users/pburdet/events{/privacy}","received_events_url":"https://api.github.com/users/pburdet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pburdet/hyperspy","description":"A toolbox for hyperspectra data analysis","fork":true,"url":"https://api.github.com/repos/pburdet/hyperspy","forks_url":"https://api.github.com/repos/pburdet/hyperspy/forks","keys_url":"https://api.github.com/repos/pburdet/hyperspy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pburdet/hyperspy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pburdet/hyperspy/teams","hooks_url":"https://api.github.com/repos/pburdet/hyperspy/hooks","issue_events_url":"https://api.github.com/repos/pburdet/hyperspy/issues/events{/number}","events_url":"https://api.github.com/repos/pburdet/hyperspy/events","assignees_url":"https://api.github.com/repos/pburdet/hyperspy/assignees{/user}","branches_url":"https://api.github.com/repos/pburdet/hyperspy/branches{/branch}","tags_url":"https://api.github.com/repos/pburdet/hyperspy/tags","blobs_url":"https://api.github.com/repos/pburdet/hyperspy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pburdet/hyperspy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pburdet/hyperspy/git/refs{/sha}","trees_url":"https://api.github.com/repos/pburdet/hyperspy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pburdet/hyperspy/statuses/{sha}","languages_url":"https://api.github.com/repos/pburdet/hyperspy/languages","stargazers_url":"https://api.github.com/repos/pburdet/hyperspy/stargazers","contributors_url":"https://api.github.com/repos/pburdet/hyperspy/contributors","subscribers_url":"https://api.github.com/repos/pburdet/hyperspy/subscribers","subscription_url":"https://api.github.com/repos/pburdet/hyperspy/subscription","commits_url":"https://api.github.com/repos/pburdet/hyperspy/commits{/sha}","git_commits_url":"https://api.github.com/repos/pburdet/hyperspy/git/commits{/sha}","comments_url":"https://api.github.com/repos/pburdet/hyperspy/comments{/number}","issue_comment_url":"https://api.github.com/repos/pburdet/hyperspy/issues/comments{/number}","contents_url":"https://api.github.com/repos/pburdet/hyperspy/contents/{+path}","compare_url":"https://api.github.com/repos/pburdet/hyperspy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pburdet/hyperspy/merges","archive_url":"https://api.github.com/repos/pburdet/hyperspy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pburdet/hyperspy/downloads","issues_url":"https://api.github.com/repos/pburdet/hyperspy/issues{/number}","pulls_url":"https://api.github.com/repos/pburdet/hyperspy/pulls{/number}","milestones_url":"https://api.github.com/repos/pburdet/hyperspy/milestones{/number}","notifications_url":"https://api.github.com/repos/pburdet/hyperspy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pburdet/hyperspy/labels{/name}","releases_url":"https://api.github.com/repos/pburdet/hyperspy/releases{/id}","created_at":"2013-03-13T15:22:34Z","updated_at":"2014-06-24T15:51:04Z","pushed_at":"2015-04-03T07:36:52Z","git_url":"git://github.com/pburdet/hyperspy.git","ssh_url":"git@github.com:pburdet/hyperspy.git","clone_url":"https://github.com/pburdet/hyperspy.git","svn_url":"https://github.com/pburdet/hyperspy","homepage":"http://www.hyperspy.org","size":23856,"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":"hyperspy:master","ref":"master","sha":"f92c088d924858cf451dffea2a76cdcab1cd2b2e","user":{"login":"hyperspy","id":989756,"avatar_url":"https://avatars.githubusercontent.com/u/989756?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperspy","html_url":"https://github.com/hyperspy","followers_url":"https://api.github.com/users/hyperspy/followers","following_url":"https://api.github.com/users/hyperspy/following{/other_user}","gists_url":"https://api.github.com/users/hyperspy/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperspy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperspy/subscriptions","organizations_url":"https://api.github.com/users/hyperspy/orgs","repos_url":"https://api.github.com/users/hyperspy/repos","events_url":"https://api.github.com/users/hyperspy/events{/privacy}","received_events_url":"https://api.github.com/users/hyperspy/received_events","type":"Organization","site_admin":false},"repo":{"id":2233998,"name":"hyperspy","full_name":"hyperspy/hyperspy","owner":{"login":"hyperspy","id":989756,"avatar_url":"https://avatars.githubusercontent.com/u/989756?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperspy","html_url":"https://github.com/hyperspy","followers_url":"https://api.github.com/users/hyperspy/followers","following_url":"https://api.github.com/users/hyperspy/following{/other_user}","gists_url":"https://api.github.com/users/hyperspy/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperspy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperspy/subscriptions","organizations_url":"https://api.github.com/users/hyperspy/orgs","repos_url":"https://api.github.com/users/hyperspy/repos","events_url":"https://api.github.com/users/hyperspy/events{/privacy}","received_events_url":"https://api.github.com/users/hyperspy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hyperspy/hyperspy","description":"Multidimensional data analysis","fork":false,"url":"https://api.github.com/repos/hyperspy/hyperspy","forks_url":"https://api.github.com/repos/hyperspy/hyperspy/forks","keys_url":"https://api.github.com/repos/hyperspy/hyperspy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyperspy/hyperspy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyperspy/hyperspy/teams","hooks_url":"https://api.github.com/repos/hyperspy/hyperspy/hooks","issue_events_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/events{/number}","events_url":"https://api.github.com/repos/hyperspy/hyperspy/events","assignees_url":"https://api.github.com/repos/hyperspy/hyperspy/assignees{/user}","branches_url":"https://api.github.com/repos/hyperspy/hyperspy/branches{/branch}","tags_url":"https://api.github.com/repos/hyperspy/hyperspy/tags","blobs_url":"https://api.github.com/repos/hyperspy/hyperspy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyperspy/hyperspy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyperspy/hyperspy/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyperspy/hyperspy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyperspy/hyperspy/statuses/{sha}","languages_url":"https://api.github.com/repos/hyperspy/hyperspy/languages","stargazers_url":"https://api.github.com/repos/hyperspy/hyperspy/stargazers","contributors_url":"https://api.github.com/repos/hyperspy/hyperspy/contributors","subscribers_url":"https://api.github.com/repos/hyperspy/hyperspy/subscribers","subscription_url":"https://api.github.com/repos/hyperspy/hyperspy/subscription","commits_url":"https://api.github.com/repos/hyperspy/hyperspy/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyperspy/hyperspy/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyperspy/hyperspy/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyperspy/hyperspy/contents/{+path}","compare_url":"https://api.github.com/repos/hyperspy/hyperspy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyperspy/hyperspy/merges","archive_url":"https://api.github.com/repos/hyperspy/hyperspy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyperspy/hyperspy/downloads","issues_url":"https://api.github.com/repos/hyperspy/hyperspy/issues{/number}","pulls_url":"https://api.github.com/repos/hyperspy/hyperspy/pulls{/number}","milestones_url":"https://api.github.com/repos/hyperspy/hyperspy/milestones{/number}","notifications_url":"https://api.github.com/repos/hyperspy/hyperspy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyperspy/hyperspy/labels{/name}","releases_url":"https://api.github.com/repos/hyperspy/hyperspy/releases{/id}","created_at":"2011-08-19T13:14:36Z","updated_at":"2015-04-02T15:12:35Z","pushed_at":"2015-04-03T07:36:52Z","git_url":"git://github.com/hyperspy/hyperspy.git","ssh_url":"git@github.com:hyperspy/hyperspy.git","clone_url":"https://github.com/hyperspy/hyperspy.git","svn_url":"https://github.com/hyperspy/hyperspy","homepage":"http://www.hyperspy.org","size":119640,"stargazers_count":35,"watchers_count":35,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":93,"forks":22,"open_issues":93,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hyperspy/hyperspy/pulls/497"},"html":{"href":"https://github.com/hyperspy/hyperspy/pull/497"},"issue":{"href":"https://api.github.com/repos/hyperspy/hyperspy/issues/497"},"comments":{"href":"https://api.github.com/repos/hyperspy/hyperspy/issues/497/comments"},"review_comments":{"href":"https://api.github.com/repos/hyperspy/hyperspy/pulls/497/comments"},"review_comment":{"href":"https://api.github.com/repos/hyperspy/hyperspy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hyperspy/hyperspy/pulls/497/commits"},"statuses":{"href":"https://api.github.com/repos/hyperspy/hyperspy/statuses/feaa9aa3823c5b1e9dfd81a182872fe641bd6001"}}}}