☰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

Custom font for HTMLLabel?

Community Support
907sjl
907sjl

Is there a way to load a custom font face into an HTMLLabel in Bokeh? I am embedding figures into a custom HTML template and have custom font faces loading fine in other aspects. When drilling down into the rendered DOM I discovered that the HTML label is overriding styles using a shadow DOM. Without those overrides my font style would be the chosen style for the element. Is there a way to load the custom font face into the HTMLLabel DOM? Thanks in advance.

⌁   Link to post

End of archived discussion · Replies are disabled