mpastell / Pweave

Pweave is a scientific report generator and a literate programming tool for Python. It can capture the results and plots from data analysis and works well with numpy, scipy and matplotlib.
http://mpastell.com/pweave
Other
435 stars 64 forks source link

figformat removes in >0.3? #154

Open chrism0dwk opened 4 years ago

chrism0dwk commented 4 years ago

Hi, I'm trying to automate some fairly heavy LaTeX-minted (i.e. .texw) GIS reports with Pweave, and am ending up with some large (>100MB) PDF documents as a result of having complex geographic polygons in the figures (maps drawn by Geopandas).

I tried switching Pweave to get matplotlib to output png figures instead (as would be default for rst documents), but get the message

$ pweave -f texminted -g png thedoc.texw
figformat option is not implemented for Pweave >= 0.3

This change doesn't appear to have made it into the latest release notes, and I wonder if there any other way I can get pweave to output png graphics?

Thanks,

Chris