Commit c333da85 authored by Taddeus Kroes's avatar Taddeus Kroes

Added test file that plots all A's/

parent 0ca94529
#!/usr/bin/python
from pylab import subplot, show, imshow, axis
from cPickle import load
chars = filter(lambda c: c.value == 'A', load(file('chars', 'r')))
for i in range(10):
for j in range(3):
index = j * 10 + i
subplot(10, 3, index + 1)
axis('off')
imshow(chars[index].image.data, cmap='gray')
show()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment