Bokeh is quite cool. I was looking for a way to disable touch interaction with a plot, though. Was a little tedious to find a solution on the web. Found it, buried in the docs. Therefore this quick post.
Say you have created a
figure object with
fig = bokeh.plotting.figure(...)
Then you can disable the individual touch controls with e.g.
fig.toolbar.active_drag = None fig.toolbar.active_scroll = None fig.toolbar.active_tap = None
Very easy to do, you just need someone to tell you :-).
(Tested with Bokeh 2.0.0)