On Wed, Jan 9, 2013 at 11:49 AM, Phil Elson <notifications@github.com>wrote:

> In lib/matplotlib/collections.py:
>
> > @@ -1008,6 +1008,19 @@ def set_segments(self, segments):
> >      set_verts = set_segments  # for compatibility with PolyCollection
> >      set_paths = set_segments
> >
> > +    def get_segments(self):
> > +        _segments = []
> > +
> > +        for path in self._paths:
> > +            _vertices = [vertex for vertex, _ in path.iter_segments()]
> > +            _vertices = np.asarray(_vertices)
> > +            _segments.append(_vertices)
> > +
> > +        return _segments
> > +
> > +    get_verts = get_segments
>
> I think this needs to be considered, strictly speaking you're not getting
> the vertices, you're getting the paths. I appreciate that there is a setter
> defined further up which allows you to set_verts with a list of paths, so
> perhaps we should just add the same comment as on line 1008...
>
>

Yes, you are right, I should have added that comment.  I don't know why I
didn't.