Return an image of the structure of the compound

def image(self):
        '''Return an image of the structure of the compound'''
        r = requests.get(self.image_url, stream=True)
        r.raise_for_status()
        return r.raw.read()