Mathematical expressions as labels to axis

Hi,
Matplotlib allows TeX markup in any plot by placing it inside dollar signs (http://matplotlib.org/users/mathtext.html), so mathematical expressions can be used as labels to the plot axes.
Is there something similar supported in bokeh or are there plans to implement something similar? It would be extremely useful.

Best wishes,

Yiannis

There is a long-standing feature request:

  https://github.com/bokeh/bokeh/issues/647

This is definitely something we would like (and certainly I would personally like) to have in the core library, but it is a non-trivial chunk of work, with different possible approaches (canvas or dom rendering? MathTex or KaTeX?) that need to be evaluated, which have different implications for other important features (like static image output) and also depend on / will be influenced by some architectural cleanup that needs to happen as well. Beyond that, it's a matter of limited resources (people) and prioritizing. Right now our primary focus is absolutely easy ot make interactive datavis apps. We have a good start there but need to build on it with better layout and design.

The good news is that the recent move to make BokehJS modular and extensible means that it's actually possible that math labels could be experimented with by interested users or new contributors without having to have this in the core library. If anyone is interested in playing around with MathTex or KaTeX in a custom extension model please let us know we will try to help as best we can.

Bryan

···

On Jan 10, 2016, at 6:50 AM, [email protected] wrote:

Hi,
Matplotlib allows TeX markup in any plot by placing it inside dollar signs (http://matplotlib.org/users/mathtext.html), so mathematical expressions can be used as labels to the plot axes.
Is there something similar supported in bokeh or are there plans to implement something similar? It would be extremely useful.
Best wishes,
Yiannis

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/d241cd65-bbab-4c87-8b5a-fbe8d5d6d50a%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.