Exporting Matplotlib Plots to LaTeX

This blog post explains how plots from matplotlib can be exported to PGF files, which in turn can be imported into $\LaTeX$ documents. All figures in this post are links that point to the source code used to generate them. […]