def graph_background(s):
if s.background == None:<EOL><INDENT>s._ctx.background(None)<EOL><DEDENT>else:<EOL><INDENT>s._ctx.background(s.background)<EOL><DEDENT>if s.depth:<EOL><INDENT>try:<EOL><INDENT>clr = colors.color(s.background).darker(<NUM_LIT>)<EOL>p = s._ctx.rect(<NUM_LIT:0>, <NUM_LIT:0>, s._ctx.WIDTH, s._ctx.HEIGHT, draw=False)<EOL>colors.gradientfill(p, clr, clr.lighter(<NUM_LIT>))<EOL>colors.shadow(dx=<NUM_LIT:0>, dy=<NUM_LIT:0>, blur=<NUM_LIT:2>, alpha=<NUM_LIT>, clr=s.background)<EOL><DEDENT>except:<EOL><INDENT>pass<EOL><DEDENT><DEDENT>
Graph background color.