from PIL import Imageimport matplotlib.pyplot as pltimg = Image.new("RGB",(100100))img.paste("red",(10,10,30,30))plt.imshow(img)plt.show()
確定! 回上一頁