Reputation: 261
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?
Upvotes: 11
Views: 3827
Reputation: 34568
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!
Upvotes: 3