Update complexgrapher.py