application_vnd.jupyter.stderr_output_1.png image_output_1.png
from sklearn import datasets

import matplotlib.pyplot as plt

from sklearn import datasets
from sklearn.datasets import fetch_openml
import matplotlib.pyplot as plt
digits = datasets.load_digits()
plt.figure(1, figsize=(3, 3))
plt.imshow(digits.images[-1], cmap=plt.cm.gray_r, interpolation='nearest')
plt.show()