lib/matplotlib/image.py
def toarray(im):
        'return a 1D array of floats'
        x_str = im.tostring('raw',im.mode,0,-1)
        x = np.fromstring(x_str,np.uint8)
        return x
return a 1D array of floats
return a 1D array of floats
return a 1D array of floats
def toarray(im):
        x_str = im.tostring('raw',im.mode,0,-1)
        x = np.fromstring(x_str,np.uint8)
        return x
def toarray ( im ) : x_str = im . tostring ( 'raw' , im . mode , 0 , - 1 ) x = np . fromstring ( x_str , np . uint8 ) return x
return a 1D array of floats
return a 1D array of floats
'return a 1D array of floats'
im