graphing.py cleanup