get pylab plot working in script mode