{"action":"created","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4913","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4913/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4913/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4913/events","html_url":"https://github.com/matplotlib/matplotlib/pull/4913","id":100612743,"number":4913,"title":"Agg restore_region is broken","user":{"login":"jrevans","id":583007,"avatar_url":"https://avatars.githubusercontent.com/u/583007?v=3","gravatar_id":"","url":"https://api.github.com/users/jrevans","html_url":"https://github.com/jrevans","followers_url":"https://api.github.com/users/jrevans/followers","following_url":"https://api.github.com/users/jrevans/following{/other_user}","gists_url":"https://api.github.com/users/jrevans/gists{/gist_id}","starred_url":"https://api.github.com/users/jrevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrevans/subscriptions","organizations_url":"https://api.github.com/users/jrevans/orgs","repos_url":"https://api.github.com/users/jrevans/repos","events_url":"https://api.github.com/users/jrevans/events{/privacy}","received_events_url":"https://api.github.com/users/jrevans/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","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":32,"closed_issues":289,"state":"open","created_at":"2015-02-07T21:22:30Z","updated_at":"2015-08-14T02:49:37Z","due_on":"2015-07-31T04:00:00Z","closed_at":null},"comments":2,"created_at":"2015-08-12T19:04:36Z","updated_at":"2015-08-14T02:50:07Z","closed_at":"2015-08-14T02:49:37Z","pull_request":{"url":"https://api.github.com/repos/matplotlib/matplotlib/pulls/4913","html_url":"https://github.com/matplotlib/matplotlib/pull/4913","diff_url":"https://github.com/matplotlib/matplotlib/pull/4913.diff","patch_url":"https://github.com/matplotlib/matplotlib/pull/4913.patch"},"body":"The original version used to have float parameters that would be converted to integers in the agg renderer C++ file.  The current version now performs some type-checking in the Python->C++ layer that will throw an exception tot he float values that are passed in.  This fix makes sure that we are indeed passing in integers to the C++ method.\r\n\r\nThis addresses an issue in #4897.\r\n"},"comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/comments/130934243","html_url":"https://github.com/matplotlib/matplotlib/pull/4913#issuecomment-130934243","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4913","id":130934243,"user":{"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},"created_at":"2015-08-14T02:50:07Z","updated_at":"2015-08-14T02:50:07Z","body":"Merging this as it restores previous behavior of implicit cast to int.  If we want to intentionally break that we should have that discussion later."}}