:orphan:

.. _ug_advanced_extensions_examples_tool:

A new custom tool
-----------------

This example shows a custom `GestureTool` subclass that can be used to sketch
on the plot canvas by dragging a mouse (or finger on a touch device).

.. bokeh-plot:: __REPO__/examples/advanced/extensions/tool.py
    :source-position: below
