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

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)

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.

Try adding

p.title.render_mode = 'css'

It worked !
Thanks a lot.