Fixed graph.py, #554