matplotlib/matplotlib — pull request #1649 by toddrjen (2013-01-09 18:37:32+00:00)
Title: add get_segments method to collections.LineCollection

collections.LineCollection has a set_segments method that lets you set the vertices of the line segments in the collection. However, it has no corresponding get_segments method. This adds the method.

This version implements the suggestions from pelson on the last version of this pull request.