标签: python-imaging-library
这就是我想要做的:
from PIL import Image plt.imshow(Image.resize(img, (im_height, im_width)))
然后出现以下错误:
AttributeError: module 'PIL.Image' has no attribute 'resize'