image_output_1.png
from sklearn.datasets import load_digits

import matplotlib.pyplot as plt

from sklearn.datasets import load_digits
digits = load_digits()

plt.gray()
for i in range(5):
    plt.matshow(digits.images[i])