add get_segments method to collections.LineCollection #1655

Merged
merged 1 commit into from Jan 14, 2013

Projects

None yet

2 participants

@toddrjen

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.

@pelson
Member
pelson commented Jan 14, 2013

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

@toddrjen

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
@pelson
Member
pelson commented Jan 14, 2013

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