On Oct 5, 2006, at 11:30 AM, Daniel Wheeler wrote:

while you are at it, you may want to edit matplotlib2DGridViewer.py, line 111 (not necessary to fix the above, but worth doing) from:

   >>>  return reshape(array(self.vars[0]), self.vars[0].getMesh().getShape())
   
to

   >>> return reshape(array(self.vars[0]), self.vars[0].getMesh().getShape()[::-1])

Did you spot the deliberate mistake? The above should actually be:

    >>> return reshape(array(self.vars[0]), self.vars[0].getMesh().getShape()[::-1])[::-1]

and that, I hope, works properly.


--

Daniel Wheeler



Reply via email to