13b330acffbaf400f81a2671603d04774aa103da,sphinx/source/docs/user_guide/examples/interaction_callbacks_for_tools.py,,,#,4

Before Change



box_select = BoxSelectTool(callback=callback)

p = figure(plot_width=400,
           plot_height=400,
           tools=[box_select],
           title="Select Below",
           x_range=Range1d(start=0.0, end=1.0),
           y_range=Range1d(start=0.0, end=1.0))

rect = Rect(x="x",
            y="y",
            width="width",

After Change


    source.change.emit()
)

p = figure(plot_width=400, plot_height=400, tools="box_select",
           title="Select Below", x_range=(0, 1), y_range=(0, 1))

rect = Rect(x="x", y="y", width="width", height="height",
            fill_alpha=0.3, fill_color="/�")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: bokeh/bokeh
Commit Name: 13b330acffbaf400f81a2671603d04774aa103da
Time: 2019-12-28
Author: bryan@bokeh.org
File Name: sphinx/source/docs/user_guide/examples/interaction_callbacks_for_tools.py
Class Name:
Method Name:


Project Name: bokeh/bokeh
Commit Name: 4925a64bd24fd27addd2fa4d092e00bc711150ec
Time: 2021-01-18
Author: mattpap@gmail.com
File Name: examples/custom/gears/gears.py
Class Name:
Method Name: classical_gear


Project Name: bokeh/bokeh
Commit Name: 4925a64bd24fd27addd2fa4d092e00bc711150ec
Time: 2021-01-18
Author: mattpap@gmail.com
File Name: examples/custom/gears/gears.py
Class Name:
Method Name: epicyclic_gear