11

Bokeh does not handle Latex. A solution has been proposed: http://docs.bokeh.org/en/latest/docs/user_guide/extensions_gallery/latex.html#userguide-extensions-examples-latex

This is great for adding Latex on top of the canvas. Is there an easy way to use this strategy so we can use Latex in the axis labels?

bigreddot
  • 33,642
  • 5
  • 69
  • 122
Arthur
  • 261
  • 3
  • 8

1 Answers1

3

Bokeh 2.4 adds support for LaTeX (and MathML) to some elements in Bokeh. Currently, you can use LaTeX on axis labels, tick labels, div widgets, and paragraph widgets. LaTeX support for more elements should be added soon. For more information about the new math text feature and how to use them, see the Bokeh 2.4 release blogpost, the new blackbody radiation example, and the Bokeh user guide!

enter image description here

bigreddot
  • 33,642
  • 5
  • 69
  • 122