.. _userguide_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:: docs/user_guide/examples/extensions_example_tool.py
    :source-position: below
