Skip to content

Conversation

toddrjen
Copy link
Contributor

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
Copy link
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
Copy link
Contributor Author

Commits are squashed

pelson added a commit that referenced this pull request Jan 14, 2013
add get_segments method to collections.LineCollection
@pelson pelson merged commit f2ff060 into matplotlib:master Jan 14, 2013
@pelson
Copy link
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants