LaTeXiPy
Generate beautiful plots for LaTeX using your existing Matplotlib-based code.
You can also use this package to generate plots without using LaTeX. Just don’t run lp.latexify().
Free software: MIT license
Documentation: https://latexipy.readthedocs.io.
Usage
To plot in Python:
import latexipy as lp
lp.latexify() # Change to a serif font that fits with most LaTeX.
with lp.figure('filename'): # saves in img/ by default.
draw_the_plot()
To display in LaTeX:
\usepackage{pgf}
\input{filename.pgf}
See the examples directory for some example code, their resulting images, as well as an example LaTeX file and its output PDF.
Features
Automatically generate multiple plot types, such as PDF, PNG, and PGF for LaTeX.
Works with all Matplotlib-based packages, including Seaborn and Pandas.
Allows for easily changing the style temporarily.
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
1.0.1 (2017-08-24)
Fix README rendering for Github and PyPI.
1.0.0 (2017-08-24)
First release on PyPI.
Metadata
Release files for latexipy 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| latexipy-1.0.1.tar.gz | 650.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| latexipy-1.0.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 658.7 kB
Release files / latexipy-1.0.1.tar.gz
| Download URL | latexipy-1.0.1.tar.gz |
|---|---|
| Size | 650.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e965c770425918fd7b5f8b70d5e3c5976116e02c137b23a92d986d5d8d93c868
|
|
BLAKE2b-256 checksum How to use checksums |
306a7b670cedc83f72bedba9b4c3fbd1b22d8cd7ca3b60af608c03fd65cad5a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / latexipy-1.0.1-py2.py3-none-any.whl
| Download URL | latexipy-1.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
894d38c1358b7d4a050174fdbc96cdc88bc4ea8e3d40ae4b78e748ff775aed80
|
|
BLAKE2b-256 checksum How to use checksums |
10d3ce8090c47e60a5420976f8af764bf2e0f9b9674788073a5c1b209fdf3995
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for latexipy 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.