{ "info": { "author": "Sebastian Mueller", "author_email": "info@geostat-framework.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: MacOS", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering", "Topic :: Software Development", "Topic :: Utilities" ], "description": "# mlabtex\n\n[![PyPI version](https://badge.fury.io/py/mlabtex.svg)](https://badge.fury.io/py/mlabtex)\n[![Build Status](https://travis-ci.org/MuellerSeb/mlabtex.svg?branch=master)](https://travis-ci.org/MuellerSeb/mlabtex)\n[![Coverage Status](https://coveralls.io/repos/github/MuellerSeb/mlabtex/badge.svg?branch=master)](https://coveralls.io/github/MuellerSeb/mlabtex?branch=master)\n[![Documentation Status](https://readthedocs.org/projects/mlabtex/badge/?version=latest)](https://mlabtex.readthedocs.io/en/latest/?badge=latest)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)\n\n\n## Purpose\n\nmlabtex provides a renderer for latex code in mayavi.\n\n\n## Installation\n\n pip install mlabtex\n\n\n## Functions\n\nThe following functions are provided\n\n - `render_latex` -- A renderer for latex-code to produce image files.\n - `mlabtex ` -- A renderer for latex code in mayavi.\n - `mlabimg ` -- A renderer for image files in mayavi.\n\n\n## Dependencies\n\n - [NumPy](http://www.numpy.org)\n - [Mayavi](https://docs.enthought.com/mayavi/mayavi/)\n\n\n### For rendering\n\n - [matplotlib](https://matplotlib.org/)\n - [sympy](https://www.sympy.org/)\n\n\n## Example\n\nYou can use it like the mlab.surf routine:\n\n from mayavi import mlab\n from mlabtex import mlabtex\n\n text = (\n r'Sebastian M\\\"uller, '\n + r'$f(x)=\\displaystyle\\sum_{n=0}^\\infty '\n + r'f^{(n)}(x_0)\\cdot\\frac{(x-x_0)^n}{n!}$'\n )\n tex = mlabtex(\n 0., 0., 0.,\n text,\n color=(0., 0., 0.),\n orientation=(30., 0., 0.),\n dpi=1200,\n )\n mlab.axes()\n mlab.show()\n\n[![Latex in Mayavi][1]][1]\n\nCopyright Sebastian Mueller 2019\n\n\n [1]: https://i.stack.imgur.com/lLF58.png\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/MuellerSeb/mlabtex", "keywords": "", "license": "MIT", "maintainer": "Sebastian Mueller", "maintainer_email": "sebastian.mueller@ufz.de", "name": "mlabtex", "package_url": "https://pypi.org/project/mlabtex/", "platform": "Windows", "project_url": "https://pypi.org/project/mlabtex/", "project_urls": { "Homepage": "https://github.com/MuellerSeb/mlabtex" }, "release_url": "https://pypi.org/project/mlabtex/0.2.0/", "requires_dist": [ "numpy (>=1.14.5)", "mayavi (>=4.5.0)", "sympy ; extra == 'all'", "matplotlib ; extra == 'all'", "matplotlib ; extra == 'matplotlib'", "sympy ; extra == 'sympy'" ], "requires_python": "", "summary": "mlabtex: A renderer for latex code in mayavi.", "version": "0.2.0" }, "last_serial": 5745198, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "6a84e7b1f02d2a50ad8a5f1550191803", "sha256": "2216b2db90439b086a8d91aa8a021763e520cec3f2224d3d244bd53c6bde3a28" }, "downloads": -1, "filename": "mlabtex-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6a84e7b1f02d2a50ad8a5f1550191803", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6825, "upload_time": "2019-08-28T20:03:59", "url": "https://files.pythonhosted.org/packages/ec/ff/3fd3c9760fa739a852a292100a683a341887d81b13b963d5d3c43d6f36c8/mlabtex-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7d2de8ddc5b94c91928ad8172e5c5357", "sha256": "ec86fd82aabf1d9d7c89fbaed2bc0028e48da55a7aab8031f7793776d0a2f537" }, "downloads": -1, "filename": "mlabtex-0.2.0.tar.gz", "has_sig": false, "md5_digest": "7d2de8ddc5b94c91928ad8172e5c5357", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 56813, "upload_time": "2019-08-28T20:04:02", "url": "https://files.pythonhosted.org/packages/48/9b/bb587d649aba1036237f5094a78193e111d26a5691adf717066fe955efe8/mlabtex-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6a84e7b1f02d2a50ad8a5f1550191803", "sha256": "2216b2db90439b086a8d91aa8a021763e520cec3f2224d3d244bd53c6bde3a28" }, "downloads": -1, "filename": "mlabtex-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6a84e7b1f02d2a50ad8a5f1550191803", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6825, "upload_time": "2019-08-28T20:03:59", "url": "https://files.pythonhosted.org/packages/ec/ff/3fd3c9760fa739a852a292100a683a341887d81b13b963d5d3c43d6f36c8/mlabtex-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7d2de8ddc5b94c91928ad8172e5c5357", "sha256": "ec86fd82aabf1d9d7c89fbaed2bc0028e48da55a7aab8031f7793776d0a2f537" }, "downloads": -1, "filename": "mlabtex-0.2.0.tar.gz", "has_sig": false, "md5_digest": "7d2de8ddc5b94c91928ad8172e5c5357", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 56813, "upload_time": "2019-08-28T20:04:02", "url": "https://files.pythonhosted.org/packages/48/9b/bb587d649aba1036237f5094a78193e111d26a5691adf717066fe955efe8/mlabtex-0.2.0.tar.gz" } ] }