two different Python interfaces for PGFPLOTS:
https://github.com/lucastheis/pypgf
https://github.com/olivierverdier/pygfplots
matplotlib PGF backend:
http://matplotlib.org/users/pgf.html
convert matplotlib figures to PGFPLOTS:
https://github.com/nschloe/matplotlib2tikz