☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Using a url javascript library in CustomJs

Community Support
p-himik
p-himik

I’m pretty sure the only feasible way is to set the library up and create some global objects that you can use to access it in a custom HTML template that you say Bokeh to use via e.g. the save function.

⌁   Link to post
Bryan
Bryan

Agree with @p-himik I think the only way is to load the libraries via script tags and access them globally. Our first primary use-case for CustomJS was dead simple for users inexperienced with JS, just code snippets that interact with BokehJS obejcts and APIs. But perhaps now that Bokeh’s own compiler/bundler for extensions is more sophisticated, it could be made available somehow to CustomJS.

⌁   Link to post

End of archived discussion · Replies are disabled