Hi @ichxw
Set the add and drag arguments to the PointDrawTool() constructor to False.
The arguments are documented in the bokeh reference document; see the PointDrawTool class section. The relevant properties are not listed in the user’s documentConfiguring Plot Tools section.
Here’s a simple illustrative example.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
"""
import numpy as np
from bokeh.models import ColumnDataSource
from bokeh.models.tools import PointDrawTool
from bokeh.plotting import figure
from bokeh.io import show
data = dict(x=np.random.randn(12), y=np.random.randn(12))
source = ColumnDataSource(data)
p = figure(width=500, height=500)
r = p.circle(x='x', y='y', source=source, size=30)
_tool = PointDrawTool(renderers=[r], add=False, drag=False)
p.add_tools(_tool)
p.toolbar.active_tap = _tool
show(p)