#NEWLINE# def setColor( self , color ) : #NEWLINE# #INDENT# 'Set figure and canvas colours to be the same.' #NEWLINE# self . figure . set_facecolor ( color ) #NEWLINE# self . figure . set_edgecolor ( color ) #NEWLINE# self . canvas . SetBackgroundColour ( color )