{"action":"created","issue":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/4349","repository_url":"https://api.github.com/repos/bokeh/bokeh","labels_url":"https://api.github.com/repos/bokeh/bokeh/issues/4349/labels{/name}","comments_url":"https://api.github.com/repos/bokeh/bokeh/issues/4349/comments","events_url":"https://api.github.com/repos/bokeh/bokeh/issues/4349/events","html_url":"https://github.com/bokeh/bokeh/pull/4349","id":156127331,"number":4349,"title":"Ranges can have minimum range to constrain min zoom level","user":{"login":"almarklein","id":3015475,"avatar_url":"https://avatars.githubusercontent.com/u/3015475?v=3","gravatar_id":"","url":"https://api.github.com/users/almarklein","html_url":"https://github.com/almarklein","followers_url":"https://api.github.com/users/almarklein/followers","following_url":"https://api.github.com/users/almarklein/following{/other_user}","gists_url":"https://api.github.com/users/almarklein/gists{/gist_id}","starred_url":"https://api.github.com/users/almarklein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almarklein/subscriptions","organizations_url":"https://api.github.com/users/almarklein/orgs","repos_url":"https://api.github.com/users/almarklein/repos","events_url":"https://api.github.com/users/almarklein/events{/privacy}","received_events_url":"https://api.github.com/users/almarklein/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bokeh/bokeh/labels/status:%20ready","name":"status: ready","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2016-05-21T23:55:53Z","updated_at":"2016-06-07T23:42:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bokeh/bokeh/pulls/4349","html_url":"https://github.com/bokeh/bokeh/pull/4349","diff_url":"https://github.com/bokeh/bokeh/pull/4349.diff","patch_url":"https://github.com/bokeh/bokeh/pull/4349.patch"},"body":"fixes #572\r\n\r\nImplemented by allowing a third parameter in the `bounds` argument. "},"comment":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/comments/224446885","html_url":"https://github.com/bokeh/bokeh/pull/4349#issuecomment-224446885","issue_url":"https://api.github.com/repos/bokeh/bokeh/issues/4349","id":224446885,"user":{"login":"almarklein","id":3015475,"avatar_url":"https://avatars.githubusercontent.com/u/3015475?v=3","gravatar_id":"","url":"https://api.github.com/users/almarklein","html_url":"https://github.com/almarklein","followers_url":"https://api.github.com/users/almarklein/followers","following_url":"https://api.github.com/users/almarklein/following{/other_user}","gists_url":"https://api.github.com/users/almarklein/gists{/gist_id}","starred_url":"https://api.github.com/users/almarklein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almarklein/subscriptions","organizations_url":"https://api.github.com/users/almarklein/orgs","repos_url":"https://api.github.com/users/almarklein/repos","events_url":"https://api.github.com/users/almarklein/events{/privacy}","received_events_url":"https://api.github.com/users/almarklein/received_events","type":"User","site_admin":false},"created_at":"2016-06-07T23:42:22Z","updated_at":"2016-06-07T23:42:22Z","body":"Bryan and I had a discussion about the behavior of the scroll-zoom tool when it encounters a bound. In short, a \"gliding\" approach allows one to zoom out, while the view glides away, but this would break the scroll-zoom's most important feature that it keeps its focus point on the same location. The two approaches can be seen [here for reference](https://dl.dropboxusercontent.com/u/1463853/bokeh/prevent_user_zooming_or_panning_too_far2.html). \r\n\r\nThe current resolution is to introduce two policies to replace the \"auto\" bounds that we currently have. In \"tight\" mode the bounds will be as in the current \"auto\" mode, and in \"loose\" mode the bounds would be set 100% wider than necessary. This should avoid hitting any bounds in an annoying way in most cases altogether. This will be a new PR.\r\n\r\nIt would be relatively easy to enable the \"gliding\" approach, should we ever want to. If we do, it would likely be an optional feature. Since it's not exactly trivial to come up with an API for this, we leave this for when its needed (if ever).\r\n\r\nThis PR is ready from my end."}}
{"actor":{"display_login":"almarklein"}}