Removed dependency on pylab