graph.py comment formatting