Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/326.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
更新图像时,Ipython显示屏不显示新图像_Python_Jupyter Notebook_Ipython - Fatal编程技术网

更新图像时,Ipython显示屏不显示新图像

更新图像时,Ipython显示屏不显示新图像,python,jupyter-notebook,ipython,Python,Jupyter Notebook,Ipython,我需要在Jupyter笔记本中并排显示两个图像。因此,我使用HTML格式通过使用以下代码来实现: from IPython.display import Image, HTML, display s = """<table><tr> <th><img src="./Images/Image1.png"/></th> <th><img src="

我需要在Jupyter笔记本中并排显示两个图像。因此,我使用HTML格式通过使用以下代码来实现:

from IPython.display import Image, HTML, display

s = """<table><tr>
    <th><img src="./Images/Image1.png"/></th>
    <th><img src="./Images/Image2.png"/></th>
    </tr></table>"""
display(HTML(s))
从IPython.display导入图像、HTML、显示
s=”“”
"""
显示(HTML)
它工作得很好,但是当图像被更改/更新时(名称保持不变),它总是显示初始图像集,而不显示更新的图像。我想知道原因/问题