Fixed Import Error

There was an error introduced when complying with the pep8 import
standards. I have fixed this by placing `matplotlib.use(‘TkAgg’)` below
the marplot lib import