Removed iPython dependancy

Changed the iPython only import of the pylab library