#NEWLINE# def draw_lines( self , lines , color = None , filename = None ) : #NEWLINE# #INDENT# "\n        Draw a list of lines, black to red if color is True (FIXME),\n        save a png for each line in filename if it isn't None\n        " #NEWLINE# for i in xrange ( len ( lines ) ) : #NEWLINE# #INDENT# self . draw_line ( lines [ i ] [ 0 ] , color [ i ] [ 1 ] , color ) #NEWLINE# if filename : #NEWLINE# #INDENT# self . sur . write_to_png ( ( ( filename + str ( i ) ) + '.png' ) )