Hi,
calling show returns the following error using the numpy maskedarray branch.
The figure is a quiver plot on a basemap instance.
/usr/local/lib64/python2.5/site-packages/matplotlib/figure.pyc in draw(self,
renderer)
696
697 # render the axes
--> 698 for a in self.axes: a.draw(renderer)
699
700 # render the figure text
/usr/local/lib64/python2.5/site-packages/matplotlib/axes.pyc in draw(self,
renderer, inframe)
1396
1397 for zorder, i, a in dsu:
-> 1398 a.draw(renderer)
1399
1400 renderer.close_group('axes')
/usr/local/lib64/python2.5/site-packages/matplotlib/quiver.pyc in draw(self,
renderer)
335 if self._new_UV:
336 verts = self._make_verts(self.U, self.V)
--> 337 self.set_verts(verts)
338 self._new_UV = False
339 collections.PolyCollection.draw(self, renderer)
/usr/local/lib64/python2.5/site-packages/matplotlib/collections.pyc in
set_verts(self, verts)
479 def set_verts(self, verts):
480 '''This allows one to delay initialization of the
vertices.'''
--> 481 self._paths = [mpath.Path(v) for v in verts]
482
483 def get_paths(self):
/usr/local/lib64/python2.5/site-packages/matplotlib/path.pyc in
__init__(self, vertices, codes)
118 len(vertices), self.code_type)
119 codes[0] = self.MOVETO
--> 120 vertices = ma.compress(npy.invert(mask1d), vertices,
0)
121 vertices = npy.asarray(vertices)
122 codes = npy.where(npy.concatenate((mask1d[-1:],
mask1d[:-1])),
AttributeError: 'module' object has no attribute 'compress'
Cheers,
David
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel