☰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

Legend with latex or imageurl

Community Support
Timo
Timo

Hi there! Latex is not (yet) available on legends, unfortunately. With the current 2.4.2 release of Bokeh, you can use LaTeX on axis labels, tick labels, and div/paragraph widgets. Until LaTeX is available on legends as well, you could use a div widget (outside of your plot) to annotate your plot, or a legend label. More details in the user guide (Styling visual attributes — Bokeh 2.4.2 Documentation) and the gallery (latex_normal_distribution.py — Bokeh 2.4.2 Documentation)!

Future versions of Bokeh will have LaTeX support for more elements (such as titles and slider widgets), and we always appreciate contributions adding LaTeX to more elements!

⌁   Link to post

End of archived discussion · Replies are disabled