#NEWLINE# def draw_box( self , x , y , values ) : #NEWLINE# #INDENT# step = ( self . graphwidth / float ( self . samples ) ) #NEWLINE# self . drawer . set_source_rgb ( self . graph_color ) #NEWLINE# for val in values : #NEWLINE# #INDENT# val = self . val ( val ) #NEWLINE# self . drawer . fillrect ( y , ( y - val ) , step , val ) #NEWLINE# x += step