Skip to content
Snippets Groups Projects
Commit 0ca94529 authored by Taddeus Kroes's avatar Taddeus Kroes
Browse files

Added character plot.

parent b04b1a16
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/python
from pylab import subplot, show, imshow, axis
from cPickle import load
x, y = 25, 25
chars = load(file('chars', 'r'))[:(x * y)]
for i in range(x):
for j in range(y):
index = j * x + i
subplot(x, y, index + 1)
axis('off')
imshow(chars[index].image.data, cmap='gray')
show()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment