MathText status and plans #12632
ianthomas23
started this conversation in
General
Replies: 1 comment
-
MathText on |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This discussion summarises the current state of MathText support in Bokeh and identifies areas for improvement. The initial MathText support was part of the CZI Round 3 grant, the project board for that (now closed) is at https://github.com/bokeh/bokeh/projects/12.
Currently MathText is supported in:
Title
andLabel
) Implement MathText on TextAnnotations and organize MathText tests #11708Div
andParagraph
widgets TeX on Markup widgets Div, Paragraph #11585Slider
widgets Add support for math text to slider widgets #11815Here is a visual summary:
produced by the following code:
Possible areas of improvement:
Annotation
classes, particularlyLegend
andLabelSet
. This requires handling of MathText passed viaColumnDataSource
in a vectorized form.Widget
classes, e.g.Button
.Tooltip
s.r"Change $$\alpha$$ but not $$\beta$$"
. This can be achieved currently using MathText only viar"$$\text{Change} \alpha \text{but not} \beta$$"
but as MathText is rendering the text it looks different to normal text.If I have missed off anything important here let me know and I will add it.
Beta Was this translation helpful? Give feedback.
All reactions