updating pylab call