Put a clickable URL in a Bokeh plot?

Question:

Is it possible to put a clickable URL in a Bokeh plot? I’m generating a lot of time series plots of online climate data, which are then browseable on a website. For each figure, I’d like to put a link to the original data webpage. This way users could browse the data on my site, then be able to go to the raw data webpage if necessary. Each link is different.

Could I put a clickable URL in the figure title? Or on a label in the corner?

I see that you can put a link on individual scatter points (https://docs.bokeh.org/en/1.0.4/docs/user_guide/examples/interaction_open_url.html), but that would be confusing in my use case. Thanks for any help.

Asked By: Michael Erb

||

Answers:

Yes you can, please refer this Bokeh Markup document:

Bokeh Markup

For Bokeh HTMLFormatter Refer this document:

Bokeh HTMLFormatter

Hope this will help.

Answered By: Nikhil Sawant
Categories: questions Tags: , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.