How can I get tooltips from GeoJSONDataSource

After constructing geodatasource:

gdf_fay0_1_source = GeoJSONDataSource(geojson=gdf_fay0_1.to_json())

I formed the lines:

glyph = MultiLine(xs=“xs”, ys=“ys”, line_color=“red”, line_width=3)
plot.add_glyph(gdf_fay0_1_source , glyph)

But I cannot get the tooltips from these lines:

(“tipi”, “@faytipi”)

plot = figure(x_range= ( minX, maxX ) , y_range=(minY, maxY) , x_axis_type=“mercator” , y_axis_type=“mercator” , plot_width=1000, plot_height=517, match_aspect=True ,tools = “pan,zoom_in,zoom_out,wheel_zoom,reset,save” , toolbar_location=“above” ,toolbar_sticky=False ,tooltips=TOOLTIPS )

How can I do that?



If you’re using MultiLine glyphs with bokeh 2.2.x, that’s the source of the problem. It’s a bug in that release sequence.

See …

Thank you
when will version 2.3 be released?