Re: [matplotlib-devel] Useless line in collections.py

2008-07-14 Thread Michael Droettboom
Right you are. Fixed in SVN. Cheers, Mike Ryan May wrote: > Hi, > > I don't think line 96 of collections.py is doing anything: > > if offsets is not None: > offsets = np.asarray(offsets, np.float_) > if len(offsets.shape) == 1: > offsets = offs

[matplotlib-devel] Useless line in collections.py

2008-07-13 Thread Ryan May
Hi, I don't think line 96 of collections.py is doing anything: if offsets is not None: offsets = np.asarray(offsets, np.float_) if len(offsets.shape) == 1: offsets = offsets[np.newaxis,:] # Make it Nx2. if transOffset is not None: