question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

enable math-tex for labels

See original GitHub issue

I know it is somehow possible to use math-tex / LaTeX math formatting for labels in VTK, but how can we enable it in vtki? For example:

plotter.add_bounds_axes(xlabel='$F^2$')

plotter.add_mesh(data, stitle='$stuff^2$')

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
akaszynskicommented, Feb 25, 2019

Provided they can compile it, it would result in automatic rendering to mathtex for every available text label. I’ll close this and consider reopening it if they can’t compile the wheel with mathtex support.

1reaction
akaszynskicommented, Feb 22, 2019

It would have to be by VTK as they’re going to be the ones to build the wheel and wheels are more universal than conda. Most linux users just use the python included with their distro.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using labels with mathJax? - Physics Meta - Stack Exchange
Using the command \label{1} in the equation solves the \eqref issue, but the equation is not displayed correctly anymore, only the LaTeX code ......
Read more >
Configuring MathJax — MathJax 3.2 documentation
The MathJax object consists of sub-objects that configure the individual components of MathJax. For example, the input/tex component is configured through a ...
Read more >
Mathtext — Matplotlib 3.6.2 documentation
Mathtext #. Use Matplotlib's internal LaTeX parser and layout engine. For true LaTeX rendering, see the text.usetex option.
Read more >
text does not work in a matplotlib label - Stack Overflow
\text won't work because it requires the amsmath package (not included in mathtext - the math rendering engine of matplotlib). So you basically...
Read more >
Mathematical notation — Bokeh 3.0.3rc1 Documentation
To use LaTeX notation as an axis label, title, or label, pass a raw string literal beginning and ending with MathJax default delimiters...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found