📜  在python中加载和显示图形-C编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:33.785000             🧑  作者: Mango

代码示例1
%pylab inline
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
img = mpimg.imread('your_image.png')
imgplot = plt.imshow(img)
plt.show()