def generate_colormap(self,colormap=None,reverse=False):
if colormap is None:<EOL><INDENT>colormap = pylab.cm.Dark2<EOL><DEDENT>self.cm=colormap<EOL>self.colormap=[]<EOL>for i in range(self.sweeps): <EOL><INDENT>self.colormap.append(colormap(i/self.sweeps))<EOL><DEDENT>if reverse:<EOL><INDENT>self.colormap.reverse()<EOL><DEDENT>
use 1 colormap for the whole abf. You can change it!.