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
Free software: MIT license
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:
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.