fixed bug with pylab=Null