Skip to content

Instantly share code, notes, and snippets.

@alstat
Created March 10, 2018 10:12
Show Gist options
  • Save alstat/62edb9825da51e19ba1637ee5875a6d1 to your computer and use it in GitHub Desktop.
Save alstat/62edb9825da51e19ba1637ee5875a6d1 to your computer and use it in GitHub Desktop.
f, a = subplots(10, 20)
for i in arange(10):
for j in arange(20):
a[i, j].imshow(x_train[j + 20 * i])
a[i, j].axis("off")
a[i, j].set_adjustable('box-forced')
f.savefig("img1.png", bbox_inches='tight', pad_inches = 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment