HTTP/2 301
date: Mon, 28 Jul 2025 21:46:32 GMT
content-type: text/html
content-length: 167
location: https://docs.bokeh.org/en/latest/docs/user_guide/interaction.html
cache-control: max-age=3600
expires: Mon, 28 Jul 2025 22:46:32 GMT
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=YHqpRs5cERt7Loe%2BxjoyGEpY6%2FcNe4h%2FccNUgCgd2Snlguyi%2B953oyYXOudEnQb18wGmaX2F2t8TZuMOzZIhI%2BWGt%2Blf5waikFfz4BZpQuI3KqOA78IYhcriMsWuDbcwAtY%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
vary: Accept-Encoding
server: cloudflare
cf-ray: 966791deff55d3d4-BLR
server-timing: cfL4;desc="?proto=TCP&rtt=739&min_rtt=703&rtt_var=173&sent=6&recv=12&lost=0&retrans=0&sent_bytes=3408&recv_bytes=999&delivery_rate=4027816&cwnd=253&unsent_bytes=0&cid=4f321bf360f22baa&ts=16&x=0"
HTTP/2 200
content-type: text/html
x-amz-id-2: xpUyhOfaj4UWQD2oqeg7VnnaS/ux6oH72sZSXiuorqvrkW0prEd9ombrw2f44b09rbjmODpX9mc=
x-amz-request-id: JFEC0V6MGZ67DXKF
date: Sun, 27 Jul 2025 17:05:58 GMT
last-modified: Mon, 12 May 2025 12:14:14 GMT
content-encoding: gzip
x-amz-server-side-encryption: AES256
cache-control: max-age=604800,public
server: AmazonS3
etag: W/"4ed632b8f93f9d7ffb087c57b0d6bc24"
vary: accept-encoding
x-cache: Hit from cloudfront
via: 1.1 99213fd5cb3468320e69c259200489b2.cloudfront.net (CloudFront)
x-amz-cf-pop: BOM78-P10
x-amz-cf-id: Q3US-57a6LtHgoWsoZ6pyO6RcgizTsAoDghTvsPlgpo2ldM3I1BmWg==
age: 103234
Interaction — Bokeh 3.7.3 Documentation
Back to top
Interaction
Bokeh offers several ways to respond to browser-based interactions from users. A
lot of this interactivity can be defined in Python, with no or only limited
JavaScript required.
Plot tools Bokeh makes it simple to add certain kinds of linked interactions between
plots, such as linked ranges when panning and zooming, or linked
highlighting when making selections.
Linked behavior Bokeh makes it simple to add certain kinds of linked interactions between
plots, such as linked ranges when panning and zooming, or linked
highlighting when making selections.
Interactive legends Bokeh Legends
can be configured to allow for easily hiding or muting
corresponding glyphs.
Widgets and DOM elements Bokeh comes with a rich set of widgets that can be used with either
client-side JavaScript callbacks, or with real Python code in a Bokeh
server application.
JavaScript callbacks Bokeh’s CustomJS
callbacks allow you to define JavaScript-based custom
interactivity for various widgets and events in Bokeh documents.
Python callbacks In Bokeh Server apps , you can use Bokeh’s Python
callbacks to define custom interactivity for various widgets and events.
Tooltips Bokeh lets you use tooltips to add additional information to most UI
elements in your visualization.