I wonder if Eric's changes (which are quite different) fix David's 
scalar mask problem...?

Cheers,
Mike

Eric Firing wrote:
> Michael Droettboom wrote:
>> David Huard wrote:
>>> Hi,
>>>
>>> calling show returns the following error using the numpy maskedarray 
>>> branch. The figure is a quiver plot on a basemap instance.
>>
>> I haven't personally done any testing with the maskedarray branch 
>> myself, though I know Eric Firing has done a little.
> 
> I'm using it routinely, but have not been doing any great variety of 
> plots.  I might have hit that bug a few days ago, but if I did I worked 
> around it instead of investigating.
> 
>>
>>> /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'
> I reported the absence, and Stefan van der Walt has already put a 
> version in svn.
> 
> The whole block of code can be streamlined and sped up a bit; I will 
> commit a change to do that.
> 
> Eric

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

-------------------------------------------------------------------------
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

Reply via email to