Python plotting and drawing with TeX for typesetting