☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

[SOLVED] Ho to search text on a bokeh generated html

Community Support
giovanni
giovanni

I am trying to understand how I can enable the html page I generate with bokeh to have the text (for example the titles of the plots) searchable.

Take the code below:

from bokeh.models import ColumnDataSource
from bokeh.plotting import figure, output_file, show
output_file(r"C:\giovanni\test.html", title="test")
x = [10., 30., 40., 50.]
values = [100, 300, 150, 200]
source = ColumnDataSource(data=dict(x= x,y=values))
title = 'test'

p = figure(plot_width=1200, plot_height=400, title=test)
p.scatter(x='x', y='y', source=source, size=6)
show(p)

If I open the page with any browser and then search for the word “test” this does not find anything, although this word appears on the title of the plot.

Any help will be appreciated.
Thanks!
Giovanni

⌁   Link to post

End of archived discussion · Replies are disabled