Does anyone know how to prevent your web browser from scrolling on wheel events?
I’m trying to scroll through a 3D data set, using the mouse wheel to scroll through the z-axis. The code below works great, but the web browser will still scroll on these events. I could not find the Bokeh source code that illustrates how they do this for WheelZoomTool. Presumably this requires some custom JS?
if event.delta > 0:
elif event.delta < 0: