Changed "view.py" import
Updated view.view() calls
Changed "View" to "view", added matplotlib.use('Agg')
reverted example to local host and original port