{"action":"created","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4961","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4961/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4961/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4961/events","html_url":"https://github.com/matplotlib/matplotlib/pull/4961","id":101911600,"number":4961,"title":"Bounds checking for get_cursor_data(). Closes #4957","user":{"login":"WeatherGod","id":291576,"avatar_url":"https://avatars.githubusercontent.com/u/291576?v=3","gravatar_id":"","url":"https://api.github.com/users/WeatherGod","html_url":"https://github.com/WeatherGod","followers_url":"https://api.github.com/users/WeatherGod/followers","following_url":"https://api.github.com/users/WeatherGod/following{/other_user}","gists_url":"https://api.github.com/users/WeatherGod/gists{/gist_id}","starred_url":"https://api.github.com/users/WeatherGod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeatherGod/subscriptions","organizations_url":"https://api.github.com/users/WeatherGod/orgs","repos_url":"https://api.github.com/users/WeatherGod/repos","events_url":"https://api.github.com/users/WeatherGod/events{/privacy}","received_events_url":"https://api.github.com/users/WeatherGod/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/matplotlib/matplotlib/labels/needs_review","name":"needs_review","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/18","html_url":"https://github.com/matplotlib/matplotlib/milestones/next%20point%20release","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/18/labels","id":970105,"number":18,"title":"next point release","description":"Next minor release.","creator":{"login":"tacaswell","id":199813,"avatar_url":"https://avatars.githubusercontent.com/u/199813?v=3","gravatar_id":"","url":"https://api.github.com/users/tacaswell","html_url":"https://github.com/tacaswell","followers_url":"https://api.github.com/users/tacaswell/followers","following_url":"https://api.github.com/users/tacaswell/following{/other_user}","gists_url":"https://api.github.com/users/tacaswell/gists{/gist_id}","starred_url":"https://api.github.com/users/tacaswell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tacaswell/subscriptions","organizations_url":"https://api.github.com/users/tacaswell/orgs","repos_url":"https://api.github.com/users/tacaswell/repos","events_url":"https://api.github.com/users/tacaswell/events{/privacy}","received_events_url":"https://api.github.com/users/tacaswell/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":303,"state":"open","created_at":"2015-02-07T21:22:30Z","updated_at":"2015-08-19T15:51:57Z","due_on":"2015-07-31T04:00:00Z","closed_at":null},"comments":5,"created_at":"2015-08-19T14:49:37Z","updated_at":"2015-08-19T16:09:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4961","html_url":"https://github.com/matplotlib/matplotlib/pull/4961","diff_url":"https://github.com/matplotlib/matplotlib/pull/4961.diff","patch_url":"https://github.com/matplotlib/matplotlib/pull/4961.patch"},"body":"Decided to go with reporting `None` when outside the image. There is still an oddity I discovered, and I highlighted it in the test with commented out code. With origin as \"upper\", you can go off the top-left corner of the image for a bit with a value being reported. This doesn't happen at any corner for origin \"lower\", though."},"comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/comments/132663285","html_url":"https://github.com/matplotlib/matplotlib/pull/4961#issuecomment-132663285","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4961","id":132663285,"user":{"login":"WeatherGod","id":291576,"avatar_url":"https://avatars.githubusercontent.com/u/291576?v=3","gravatar_id":"","url":"https://api.github.com/users/WeatherGod","html_url":"https://github.com/WeatherGod","followers_url":"https://api.github.com/users/WeatherGod/followers","following_url":"https://api.github.com/users/WeatherGod/following{/other_user}","gists_url":"https://api.github.com/users/WeatherGod/gists{/gist_id}","starred_url":"https://api.github.com/users/WeatherGod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeatherGod/subscriptions","organizations_url":"https://api.github.com/users/WeatherGod/orgs","repos_url":"https://api.github.com/users/WeatherGod/repos","events_url":"https://api.github.com/users/WeatherGod/events{/privacy}","received_events_url":"https://api.github.com/users/WeatherGod/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T16:09:29Z","updated_at":"2015-08-19T16:09:29Z","body":"Joys! Well, the fix is fairly straight-forward, if tedious. Just do a flip of xmin/xmax and ymin/ymax whenever needed. Stay tuned..."}}