text_plain_output_1.png
import matplotlib.pyplot as plt

import pickle

data = pickle.load(open('../input/dog-and-cat/DOGnCAT50x50.pickle', 'rb'))

fig, axes = plt.subplots(3, 3, figsize=(15, 15))
index = 75
for i in range(3):
    for j in range(3):
        axes[i, j].imshow(data[index][0], cmap='gray')
        index += 1
plt.show()