Typing this (on ipython prompt with the relevant libraries imported)
x = linspace(0,1.0,500)
y = linspace(0,1.0,500)
xg,yg = meshgrid(x,y)
c = rand(len(x), len(y))
Makes the ipython process to grow to have about 400 Mb of resident
memory and it takes ages for the plot to appear (a 1000x1000 image
just makes my 1 Gb system trash helplessly).
But, using pcolormesh instead of pcolor in the last line of the script
above works ok, the plot appears almost immediately, and the memory
consumption of the ipython process only doubles, i.e. grows about 30
Is this a bug or am I doing something wrong? I'm using
python-matplotlib 0.99.0-1 from Debian.