更新图像时,Ipython显示屏不显示新图像
我需要在Jupyter笔记本中并排显示两个图像。因此,我使用HTML格式通过使用以下代码来实现:更新图像时,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="
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)
它工作得很好,但是当图像被更改/更新时(名称保持不变),它总是显示初始图像集,而不显示更新的图像。我想知道原因/问题