我怎样才能在 vs code (ipynb) 中解决这个问题?

How can I solve this problem in vs code (ipynb)?

import os 

image, label = load(os.path.join(PATH, 'train/cat/cat.100.jpg'), 0)
# casting to int for matplotlib to show the image
plt.figure()
plt.title(label)
plt.imshow(image/255.0)
plt.show()

当我运行这样的时候,没有报错。但它显示为无限期进行中。

试试这个,

PATH = "/Users/reblochonMasque/Documents/Drawings/"
Image(filename = PATH + "My_picture.jpg", width=100, height=100)