Skip to content

Instantly share code, notes, and snippets.

@KananMahammadli
Created August 29, 2021 21:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KananMahammadli/57814d0a772fb59bd4091c0596669853 to your computer and use it in GitHub Desktop.
Save KananMahammadli/57814d0a772fb59bd4091c0596669853 to your computer and use it in GitHub Desktop.
row = 5
col = 4
fig, axes = plt.subplots(row, col, figsize=(14, 14))
c = 0
count = 0
for i in range(row):
for j in range(col):
axes[i][j].imshow(train_images[c])
axes[i][j].set_title(train_labels[c])
c += 500
plt.tight_layout()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment