Turn Bokeh Glyph into a link
问题 I would like to turn all of the Bokeh glyphs on a certain plot into links to other pages. Is this possible? For example if I had a map of countries, each country as a patch, if a user were to click on a country I would like to redirect them to that wikipedia page. 回答1: There also a simpler example in the User's Guide: from bokeh.models import ColumnDataSource, OpenURL, TapTool from bokeh.plotting import figure, output_file, show output_file("openurl.html") p = figure(plot_width=400, plot