matplotlib/matplotlib — pull request #1655 by toddrjen (2013-01-13 19:57:38+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.