add get_segments method to collections.LineCollection #1655

merged 1 commit into from Jan 14, 2013

2 participants


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.

Matplotlib Developers member

Hmmm. There are some strange commits here. Would you mind "squashing" your commits into one and git push origin +get_segments you branch.


Commits are squashed

@pelson pelson merged commit f2ff060 into matplotlib:master Jan 14, 2013

1 check was pending

Details default The Travis build is in progress
Matplotlib Developers member

Thanks @toddrjen - I see no reason not to merge (so have done so).

Good stuff!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment