lib/matplotlib/image.py
def pilread():
        'try to load the image with PIL or return None'
        try: import Image
        except ImportError: return None
        image = Image.open( fname )
        return pil_to_array(image)
try to load the image with PIL or return None
try to load the image with PIL or return None
try to load the image with PIL or return None
def pilread():
        try: import Image
        except ImportError: return None
        image = Image.open( fname )
        return pil_to_array(image)
def pilread ( ) : try : import Image except ImportError : return None image = Image . open ( fname ) return pil_to_array ( image )
try to load the image with PIL or return None
try to load the image with PIL or return None
'try to load the image with PIL or return None'