Skip to main content

mlabtex: A renderer for latex code in mayavi.

Project description


PyPI version Build Status Coverage Status Documentation Status Code style: black


mlabtex provides a renderer for latex code in mayavi.


pip install mlabtex


The following functions are provided

  • render_latex -- A renderer for latex-code to produce image files.
  • mlabtex -- A renderer for latex code in mayavi.
  • mlabimg -- A renderer for image files in mayavi.


For rendering


You can use it like the routine:

from mayavi import mlab
from mlabtex import mlabtex

text = (
    r'Sebastian M\"uller, '
    + r'$f(x)=\displaystyle\sum_{n=0}^\infty '
    + r'f^{(n)}(x_0)\cdot\frac{(x-x_0)^n}{n!}$'
tex = mlabtex(
    0., 0., 0.,
    color=(0., 0., 0.),
    orientation=(30., 0., 0.),

Latex in Mayavi

Copyright Sebastian Mueller 2019

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mlabtex-0.2.0.tar.gz (56.8 kB view hashes)

Uploaded Source

Built Distribution

mlabtex-0.2.0-py2.py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page