Module wxmpl :: Class FigurePrinter
[show private | hide private]
[frames | no frames]

Class FigurePrinter

DestructableViewMixin --+
                        |
                       FigurePrinter


Provides a simplified interface to the wxPython printing framework that's designed for printing matplotlib figures.
Method Summary
  __init__(self, view, printData)
Create a new FigurePrinter associated with the wxPython widget view.
  getPrintData(self)
Return the current printer settings in their wx.PrintData object.
  pageSetup(self)
  previewFigure(self, figure, title)
Open a "Print Preview" window for the matplotlib chart figure.
  printFigure(self, figure, title)
Open a "Print" dialog to print the matplotlib chart figure.
  setPrintData(self, printData)
Use the printer settings in printData.

Method Details

__init__(self, view, printData=None)
(Constructor)

Create a new FigurePrinter associated with the wxPython widget view. The keyword argument printData supplies a wx.PrintData object containing the default printer settings.

getPrintData(self)

Return the current printer settings in their wx.PrintData object.

previewFigure(self, figure, title=None)

Open a "Print Preview" window for the matplotlib chart figure. The keyword argument title provides the printing framework with a title for the print job.

printFigure(self, figure, title=None)

Open a "Print" dialog to print the matplotlib chart figure. The keyword argument title provides the printing framework with a title for the print job.

setPrintData(self, printData)

Use the printer settings in printData.

Generated by Epydoc 2.1 on Mon Aug 28 13:47:49 2006 http://epydoc.sf.net