[pylab] modified pylab import statements