From: <md...@us...> - 2007-10-29 17:39:11
|
Revision: 4056 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4056&view=rev Author: mdboom Date: 2007-10-29 10:39:06 -0700 (Mon, 29 Oct 2007) Log Message: ----------- Oops -- this shouldn't have been committed. Modified Paths: -------------- branches/transforms/lib/matplotlib/collections.py Modified: branches/transforms/lib/matplotlib/collections.py =================================================================== --- branches/transforms/lib/matplotlib/collections.py 2007-10-29 17:31:24 UTC (rev 4055) +++ branches/transforms/lib/matplotlib/collections.py 2007-10-29 17:39:06 UTC (rev 4056) @@ -608,7 +608,7 @@ def set_segments(self, segments): if segments is None: return - segments = [npy.asarray([[y.get_value() for y in x] for x in seg], npy.float_) for seg in segments] + segments = [npy.asarray(seg, npy.float_) for seg in segments] if self._uniform_offsets is not None: segments = self._add_offsets(segments) self._paths = [mpath.Path(seg, closed=False) for seg in segments] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |