Commit 0ca94529 authored by Taddeus Kroes's avatar Taddeus Kroes

Added character plot.

parent b04b1a16
#!/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()
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