change to grapher.py that should have been in previous commit