Commit 750ed26b authored by Andreas Freise's avatar Andreas Freise
Browse files

moving printpdf to pykat tools

parent 5a6e9410
......@@ -12,11 +12,8 @@ import pylab as pl
formatter = matplotlib.ticker.EngFormatter(unit='', places=0)
formatter.ENG_PREFIXES[-6] = 'u'
import matplotlib.backends.backend_pdf
def printPDF(self, filename):
pdfp = matplotlib.backends.backend_pdf.PdfPages(filename)
pdfp.savefig(self,dpi=300,bbox_inches='tight')
pdfp.close()
from pykat.utilities.plotting.tools import printPDF
def main():
print """
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment