00001 from dataplot import GenericPlot 00002 import pdb 00003 00004 class Plot(GenericPlot): 00005 """Make a plot using some python function. 00006 00007 """ 00008 outfile_kwarg='outfile' 00009 00010 def makefile(self): 00011 kwargs=self.get_plot_args() 00012 kwargs[self.outfile_kwarg]=self.from_filename() 00013 self.plot(**kwargs)