{"action":"created","issue":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4028","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4028/labels{/name}","comments_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4028/comments","events_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4028/events","html_url":"https://github.com/matplotlib/matplotlib/issues/4028","id":55208640,"number":4028,"title":"constrain x- or y- axis when panning/zooming in IPython interactive (%matplotlib nbagg) mode","user":{"login":"jason-s","id":738893,"avatar_url":"https://avatars.githubusercontent.com/u/738893?v=3","gravatar_id":"","url":"https://api.github.com/users/jason-s","html_url":"https://github.com/jason-s","followers_url":"https://api.github.com/users/jason-s/followers","following_url":"https://api.github.com/users/jason-s/following{/other_user}","gists_url":"https://api.github.com/users/jason-s/gists{/gist_id}","starred_url":"https://api.github.com/users/jason-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jason-s/subscriptions","organizations_url":"https://api.github.com/users/jason-s/orgs","repos_url":"https://api.github.com/users/jason-s/repos","events_url":"https://api.github.com/users/jason-s/events{/privacy}","received_events_url":"https://api.github.com/users/jason-s/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/matplotlib/matplotlib/labels/widgets/UI","name":"widgets/UI","color":"0052cc"},{"url":"https://api.github.com/repos/matplotlib/matplotlib/labels/wishlist","name":"wishlist","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/12","labels_url":"https://api.github.com/repos/matplotlib/matplotlib/milestones/12/labels","id":534144,"number":12,"title":"v1.5.x","description":null,"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":248,"closed_issues":147,"state":"open","created_at":"2014-01-13T03:21:09Z","updated_at":"2015-01-22T21:08:05Z","due_on":null,"closed_at":null},"comments":13,"created_at":"2015-01-22T21:05:16Z","updated_at":"2015-01-23T03:27:40Z","closed_at":null,"body":"There doesn't seem to be any way to constrain x- or y- axis when panning/zooming in IPython interactive (%matplotlib nbagg) mode. Is there? If not, I'd like to request this feature.\r\n\r\nAlso it is helpful to somehow to set a default constraint when plotting the figure. In time series plots with linked axes, for example, I generally just want to allow x-axis (really t-axis) zooming and panning, and I want to leave the y-axis limits untouched. I don't want the default behavior to allow zooming and panning to affect the y-axis, I want the user to have to select something to allow it if they really want. \r\n\r\n(by the way %matplotlib nbagg is AWESOME!!!!)"},"comment":{"url":"https://api.github.com/repos/matplotlib/matplotlib/issues/comments/71142470","html_url":"https://github.com/matplotlib/matplotlib/issues/4028#issuecomment-71142470","issue_url":"https://api.github.com/repos/matplotlib/matplotlib/issues/4028","id":71142470,"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-01-23T03:27:40Z","updated_at":"2015-01-23T03:27:40Z","body":"It is somewhat odd that we catch 'keypress' and 'keyrelease', but not 'keydown'"}}