Removed pylab dependency