{"action":"closed","issue":{"url":"https://api.github.com/repos/bokeh/bokeh/issues/4355","repository_url":"https://api.github.com/repos/bokeh/bokeh","labels_url":"https://api.github.com/repos/bokeh/bokeh/issues/4355/labels{/name}","comments_url":"https://api.github.com/repos/bokeh/bokeh/issues/4355/comments","events_url":"https://api.github.com/repos/bokeh/bokeh/issues/4355/events","html_url":"https://github.com/bokeh/bokeh/issues/4355","id":156187508,"number":4355,"title":"problem enabling zoom on Image_url object","user":{"login":"epifanio","id":18949,"avatar_url":"https://avatars.githubusercontent.com/u/18949?v=3","gravatar_id":"","url":"https://api.github.com/users/epifanio","html_url":"https://github.com/epifanio","followers_url":"https://api.github.com/users/epifanio/followers","following_url":"https://api.github.com/users/epifanio/following{/other_user}","gists_url":"https://api.github.com/users/epifanio/gists{/gist_id}","starred_url":"https://api.github.com/users/epifanio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epifanio/subscriptions","organizations_url":"https://api.github.com/users/epifanio/orgs","repos_url":"https://api.github.com/users/epifanio/repos","events_url":"https://api.github.com/users/epifanio/events{/privacy}","received_events_url":"https://api.github.com/users/epifanio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bokeh/bokeh/labels/type:%20bug","name":"type: bug","color":"C02942"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/bokeh/bokeh/milestones/23","html_url":"https://github.com/bokeh/bokeh/milestones/0.12","labels_url":"https://api.github.com/repos/bokeh/bokeh/milestones/23/labels","id":1477666,"number":23,"title":"0.12","description":"","creator":{"login":"mattpap","id":27475,"avatar_url":"https://avatars.githubusercontent.com/u/27475?v=3","gravatar_id":"","url":"https://api.github.com/users/mattpap","html_url":"https://github.com/mattpap","followers_url":"https://api.github.com/users/mattpap/followers","following_url":"https://api.github.com/users/mattpap/following{/other_user}","gists_url":"https://api.github.com/users/mattpap/gists{/gist_id}","starred_url":"https://api.github.com/users/mattpap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattpap/subscriptions","organizations_url":"https://api.github.com/users/mattpap/orgs","repos_url":"https://api.github.com/users/mattpap/repos","events_url":"https://api.github.com/users/mattpap/events{/privacy}","received_events_url":"https://api.github.com/users/mattpap/received_events","type":"User","site_admin":false},"open_issues":54,"closed_issues":441,"state":"open","created_at":"2015-12-29T23:54:47Z","updated_at":"2016-06-01T20:23:30Z","due_on":"2016-05-16T05:00:00Z","closed_at":null},"comments":8,"created_at":"2016-05-23T02:03:35Z","updated_at":"2016-06-01T20:23:31Z","closed_at":"2016-06-01T20:23:31Z","body":"* Description of expected behavior and the observed behavior\r\n\r\nUsing bokeh from git master in a jupyter notebook, I'm trying to understand how to use the library to plot images and enable tools like ```BoxZoomTool``` with same zoom factor on both axes to avoid distortion of the image.\r\n\r\nThe code I'm using is:\r\n\r\n```\r\nfrom bokeh.plotting import figure, show\r\nfrom bokeh.io import output_notebook\r\nfrom bokeh.models.tools import BoxZoomTool\r\n\r\noutput_notebook()\r\n\r\n#img size in pixel\r\nx,y=[3392.0,701.0]\r\n\r\nTOOLS = 'pan,box_select,crosshair,resize,reset,hover,wheel_zoom'\r\n\r\np = figure(x_range=(0,3392), y_range=(701,0), tools=TOOLS)\r\np.add_tools(BoxZoomTool(match_aspect=True))\r\np.image_url(url=['http://epinux.com/bathy.png'], x=0.0, y=0.0, w=1.0, h=1.0)\r\n\r\nshow(p)\r\n```\r\n\r\nBut seems that the parameters w,h are being ignored and the zoom doesn't respond as expected.\r\n\r\nThe same code works fine on last stable release of bokeh. The reason why I'm using git master is because I need the option:\r\n\r\n```\r\nmatch_aspect=True\r\n```\r\n\r\nJS console log:\r\n\r\nhttps://gist.github.com/e543a51767dfe03d5a88673aa5773363\r\n\r\n\r\n\r\nBokeh info:\r\n\r\n```\r\nPython version      :  3.5.1+ (default, May  9 2016, 11:00:17) \r\nIPython version     :  4.2.0\r\nBokeh version       :  0.12.0dev8-422-g46704c2\r\nBokehJS static path :  /usr/local/lib/python3.5/dist-packages/bokeh/server/static\r\n```\r\n\r\n\r\n"}}
{"actor":{"display_login":"bryevdv"}}