Home > front end >  Put a clickable URL in a Bokeh plot?
Put a clickable URL in a Bokeh plot?

Time:01-14

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.

CodePudding user response:

Yes you can, please refer this Bokeh Markup document:

Bokeh Markup


For Bokeh HTMLFormatter Refer this document:

Bokeh HTMLFormatter

Hope this will help.

  • Related