from giraphics.graphing.graph import Graph


def func(x):
    return (x-3)*(x+2)*x*0.2

g = Graph(800,600,8,6, 'example1.svg')

g.bg()
g.grid()
g.axes()
g.graph(func)

g.save()
g.display()
[((7, 4, 7, 38), 'giraphics.graphing.graph.Graph', 'Graph', ({(7, 10, 7, 13): '800', (7, 14, 7, 17): '600', (7, 18, 7, 19): '8', (7, 20, 7, 21): '6', (7, 23, 7, 37): '"""example1.svg"""'}, {}), "(800, 600, 8, 6, 'example1.svg')", False, 'from giraphics.graphing.graph import Graph\n')]