def __init__(self,abf):
self.log = logging.getLogger("<STR_LIT>")<EOL>self.log.setLevel(swhlab.loglevel)<EOL>self.close(True) <EOL>if type(abf) is str:<EOL><INDENT>self.log.debug("<STR_LIT>")<EOL>abf=ABF(abf)<EOL><DEDENT>self.abf=abf<EOL>self.figure_width=<NUM_LIT:10><EOL>self.figure_height=<NUM_LIT:5><EOL>self.figure_dpi=<NUM_LIT><EOL>self.subplot=False <EOL>self.gridAlpha=<NUM_LIT><EOL>self.title=os.path.basename(abf.filename)<EOL>self.traceColor='<STR_LIT:b>'<EOL>self.kwargs={"<STR_LIT>":<NUM_LIT>}<EOL>self.rainbow=True<EOL>self.colormap="<STR_LIT>"<EOL>self.marginX,self.marginY=<NUM_LIT:0>,<NUM_LIT><EOL>self.log.debug("<STR_LIT>")<EOL>
Load an ABF and get ready to plot stuff.