{"action":"created","issue":{"url":"https://api.github.com/repos/francisco-dlp/hyperspy/issues/6","labels_url":"https://api.github.com/repos/francisco-dlp/hyperspy/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/francisco-dlp/hyperspy/issues/6/comments","events_url":"https://api.github.com/repos/francisco-dlp/hyperspy/issues/6/events","html_url":"https://github.com/francisco-dlp/hyperspy/pull/6","id":55180310,"number":6,"title":"Enh axis argument","user":{"login":"vidartf","id":510760,"avatar_url":"https://avatars.githubusercontent.com/u/510760?v=3","gravatar_id":"","url":"https://api.github.com/users/vidartf","html_url":"https://github.com/vidartf","followers_url":"https://api.github.com/users/vidartf/followers","following_url":"https://api.github.com/users/vidartf/following{/other_user}","gists_url":"https://api.github.com/users/vidartf/gists{/gist_id}","starred_url":"https://api.github.com/users/vidartf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vidartf/subscriptions","organizations_url":"https://api.github.com/users/vidartf/orgs","repos_url":"https://api.github.com/users/vidartf/repos","events_url":"https://api.github.com/users/vidartf/events{/privacy}","received_events_url":"https://api.github.com/users/vidartf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-01-22T17:09:57Z","updated_at":"2015-01-27T14:52:45Z","closed_at":"2015-01-22T17:20:30Z","pull_request":{"url":"https://api.github.com/repos/francisco-dlp/hyperspy/pulls/6","html_url":"https://github.com/francisco-dlp/hyperspy/pull/6","diff_url":"https://github.com/francisco-dlp/hyperspy/pull/6.diff","patch_url":"https://github.com/francisco-dlp/hyperspy/pull/6.patch"},"body":"Added check for dimensions change in ```out``` in ```_apply_function_on_data_and_remove_axis```. If the dimensions have changed, it calls ```out.get_dimensions_from_data()```, which will also trigger a replot if ```auto_replot is True```."},"comment":{"url":"https://api.github.com/repos/francisco-dlp/hyperspy/issues/comments/71659905","html_url":"https://github.com/francisco-dlp/hyperspy/pull/6#issuecomment-71659905","issue_url":"https://api.github.com/repos/francisco-dlp/hyperspy/issues/6","id":71659905,"user":{"login":"vidartf","id":510760,"avatar_url":"https://avatars.githubusercontent.com/u/510760?v=3","gravatar_id":"","url":"https://api.github.com/users/vidartf","html_url":"https://github.com/vidartf","followers_url":"https://api.github.com/users/vidartf/followers","following_url":"https://api.github.com/users/vidartf/following{/other_user}","gists_url":"https://api.github.com/users/vidartf/gists{/gist_id}","starred_url":"https://api.github.com/users/vidartf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vidartf/subscriptions","organizations_url":"https://api.github.com/users/vidartf/orgs","repos_url":"https://api.github.com/users/vidartf/repos","events_url":"https://api.github.com/users/vidartf/events{/privacy}","received_events_url":"https://api.github.com/users/vidartf/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T14:52:45Z","updated_at":"2015-01-27T14:52:45Z","body":"I just noticed that ```Signal.__getitem__()``` actually handles offsets correctly via the ```_slice_me()``` function on ```DataAxis```, so that's one fewer problem to worry about :)"}}