无法在Jupyter markdown中获取要呈现的图像

2024-10-01 22:40:09 发布

您现在位置:Python中文网/ 问答频道 /正文

我正试着在我的笔记本上添加一个标记单元格的图像。以前,我一直在使用:

from IPython.display import Image
Image(filename='/Users/nzhang/Desktop/DS/Python/images/imagename.jpeg', width=400, height=400)

在代码单元中工作得很好。但是,我想将图像添加到降价单元格中,如下所示:

![title](img//Users/nzhang/Desktop/DS/Python/images/imagename.jpeg)

但我得到了一个残缺图像的缩略图。在


Tags: from标记图像imageimportipythondisplayds

热门问题