Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created December 5, 2020 06:36
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
# Plotting the first 10 images
fig, ax = plt.subplots(2,5)
fig.set_size_inches(10, 10)
k = 0
for i in range(2):
for j in range(5):
ax[i,j].imshow(training_images[k].reshape(28, 28) , cmap = "gray")
k += 1
plt.tight_layout()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment