You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/opt/conda/lib/python3.7/site-packages/IPython/core/display.py in reload(self)
1261 """Reload the raw data from file or URL."""
1262 if self.embed:
-> 1263 super(Image,self).reload()
1264 if self.retina:
1265 self._retina_shape()
/opt/conda/lib/python3.7/site-packages/IPython/core/display.py in reload(self)
660 """Reload the raw data from file or URL."""
661 if self.filename is not None:
--> 662 with open(self.filename, self._read_flags) as f:
663 self.data = f.read()
664 elif self.url is not None:
FileNotFoundError: [Errno 2] No such file or directory: 'simple-document-image.jpg'
The text was updated successfully, but these errors were encountered:
Document
documentName = "simple-document-image.jpg"
display(Image(filename=documentName))
ERROR:
FileNotFoundError Traceback (most recent call last)
in
----> 1 display(Image(filename=documentName))
/opt/conda/lib/python3.7/site-packages/IPython/core/display.py in init(self, data, url, filename, format, embed, width, height, retina, unconfined, metadata)
1230 self.unconfined = unconfined
1231 super(Image, self).init(data=data, url=url, filename=filename,
-> 1232 metadata=metadata)
1233
1234 if self.width is None and self.metadata.get('width', {}):
/opt/conda/lib/python3.7/site-packages/IPython/core/display.py in init(self, data, url, filename, metadata)
635 self.metadata = {}
636
--> 637 self.reload()
638 self._check_data()
639
/opt/conda/lib/python3.7/site-packages/IPython/core/display.py in reload(self)
1261 """Reload the raw data from file or URL."""
1262 if self.embed:
-> 1263 super(Image,self).reload()
1264 if self.retina:
1265 self._retina_shape()
/opt/conda/lib/python3.7/site-packages/IPython/core/display.py in reload(self)
660 """Reload the raw data from file or URL."""
661 if self.filename is not None:
--> 662 with open(self.filename, self._read_flags) as f:
663 self.data = f.read()
664 elif self.url is not None:
FileNotFoundError: [Errno 2] No such file or directory: 'simple-document-image.jpg'
The text was updated successfully, but these errors were encountered: