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: 4

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: cc8a84066f997d3f1923e0ecffae60f1aed7785e
Time: 2015-12-22
Author: bryanv@continuum.io
File Name: examples/plotting/file/image_rgba.py
Class Name:
Method Name:


Project Name: bokeh/bokeh
Commit Name: 563f8d55cf330009b91ba03f2cc3e75b595ff1fb
Time: 2019-03-21
Author: bryan@bokeh.org
File Name: examples/plotting/file/image_rgba.py
Class Name:
Method Name:


Project Name: bokeh/bokeh
Commit Name: ac17a6b00c72b790828b4b9f4144e6f7f14fd0bf
Time: 2015-12-22
Author: bryanv@continuum.io
File Name: examples/plotting/file/image.py
Class Name:
Method Name: