Bug fix in mpg.graph.py