import pylab pylab. import numpy #? ['array2string'] numpy.array2string #? ['shape'] numpy.matrix().shape