from numpy.random import rand
import matplotlib
matplotlib.use('Agg')
from matplotlib.pyplot import pcolor, savefig
pcolor(rand(1000,100))
savefig('junk.png')

