.. _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
