pep8 and removing matplotlib QtAgg call