Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add get_segments method to collections.LineCollection #1655

Merged
merged 1 commit into from Jan 14, 2013
Merged

add get_segments method to collections.LineCollection #1655

merged 1 commit into from Jan 14, 2013

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.

None yet

2 participants