In [1]: import numpy
а=numpy.zeros( [3,2] )
а[0,0] = 1
а[0,1] = 2
а[1,0] = 9
а[2,1] = 12
In[2]: import matplotlib.pyplot
%matplotlib inline
In[3]: matplotlib.pyplot.imshow(a, interpolation="nearest")