{"action":"created","issue":{"url":"https://api.github.com/repos/glue-viz/glue/issues/608","labels_url":"https://api.github.com/repos/glue-viz/glue/issues/608/labels{/name}","comments_url":"https://api.github.com/repos/glue-viz/glue/issues/608/comments","events_url":"https://api.github.com/repos/glue-viz/glue/issues/608/events","html_url":"https://github.com/glue-viz/glue/pull/608","id":68957777,"number":608,"title":"Zoom to rectangle button is not updating","user":{"login":"ChrisBeaumont","id":796752,"avatar_url":"https://avatars.githubusercontent.com/u/796752?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisBeaumont","html_url":"https://github.com/ChrisBeaumont","followers_url":"https://api.github.com/users/ChrisBeaumont/followers","following_url":"https://api.github.com/users/ChrisBeaumont/following{/other_user}","gists_url":"https://api.github.com/users/ChrisBeaumont/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisBeaumont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisBeaumont/subscriptions","organizations_url":"https://api.github.com/users/ChrisBeaumont/orgs","repos_url":"https://api.github.com/users/ChrisBeaumont/repos","events_url":"https://api.github.com/users/ChrisBeaumont/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisBeaumont/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/glue-viz/glue/labels/bug","name":"bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-04-16T16:14:20Z","updated_at":"2015-04-16T20:53:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/glue-viz/glue/pulls/608","html_url":"https://github.com/glue-viz/glue/pull/608","diff_url":"https://github.com/glue-viz/glue/pull/608.diff","patch_url":"https://github.com/glue-viz/glue/pull/608.patch"},"body":"After using the zoom to rectangle button and letting go of the mouse button, my display doesn't update:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/796752/7185622/b2974c68-e418-11e4-9c2a-a61adf610b1a.png)\r\n\r\nAs soon as I pan around a bit to force a display refresh, the zoom region looks correct\r\n\r\n![image](https://cloud.githubusercontent.com/assets/796752/7185637/c7a5503c-e418-11e4-9106-44fe53990463.png)\r\n\r\nI suspect that we aren't properly calling ``figure.canvas.draw`` in this situation\r\n\r\n@astrofrog can you reproduce?\r\n\r\n\r\nPlatform: darwin\r\nVersion: 2.7.9 |Anaconda 2.1.0 (x86_64)| (default, Dec 15 2014, 10:37:34) \r\n[GCC 4.2.1 (Apple Inc. build 5577)]\r\nQt Binding: PyQt4\r\nMatplotlib version: 1.4.2\r\nNumpy version: 1.9.1\r\nAstroPy version: 0.4.2"},"comment":{"url":"https://api.github.com/repos/glue-viz/glue/issues/comments/93837404","html_url":"https://github.com/glue-viz/glue/pull/608#issuecomment-93837404","issue_url":"https://api.github.com/repos/glue-viz/glue/issues/608","id":93837404,"user":{"login":"ChrisBeaumont","id":796752,"avatar_url":"https://avatars.githubusercontent.com/u/796752?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisBeaumont","html_url":"https://github.com/ChrisBeaumont","followers_url":"https://api.github.com/users/ChrisBeaumont/followers","following_url":"https://api.github.com/users/ChrisBeaumont/following{/other_user}","gists_url":"https://api.github.com/users/ChrisBeaumont/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisBeaumont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisBeaumont/subscriptions","organizations_url":"https://api.github.com/users/ChrisBeaumont/orgs","repos_url":"https://api.github.com/users/ChrisBeaumont/repos","events_url":"https://api.github.com/users/ChrisBeaumont/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisBeaumont/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T20:53:54Z","updated_at":"2015-04-16T20:53:54Z","body":"Wait, does this seriously fix it?! How did you figure that out?\r\n"}}