import matplotlib.pyplot as plt
plt.imshow(digits.images[-1], cmap = plt.cm.gray_r)
.imshow()
Plotting numpy arrays as images
plt.cm.gray_r
Colormap
欢迎分享,转载请注明来源:内存溢出
import matplotlib.pyplot as plt
plt.imshow(digits.images[-1], cmap = plt.cm.gray_r)
.imshow()
Plotting numpy arrays as images
plt.cm.gray_r
Colormap
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)