graph.py cosmetics