def _pFormatArray(array_, fmt='%.2f'):
 return (('[ ' + ' '.join(((fmt % x) for x in array_))) + ' ]')

def _pFormatArray ( array_ , fmt = '%.2f' ) : return ( ( '[ ' + ' ' . join ( ( ( fmt % x ) for x in array_ ) ) ) + ' ]' )
return a string with pretty-print of a numpy array using the given format for each element .