Skip to content

Commit

Permalink
Copy comment from set_segments to get_segments
Browse files Browse the repository at this point in the history
As mentioned in the review, get_verts does not strictly do what its name implies.  Copy the comment from the set_verts declaration to explain why this is the case.
  • Loading branch information
toddrjen committed Jan 9, 2013
1 parent 5a28c1e commit 73014b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/matplotlib/collections.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@ def get_segments(self):


return _segments return _segments


get_verts = get_segments get_verts = get_segments # for compatibility with PolyCollection
get_paths = get_segments get_paths = get_segments


def _add_offsets(self, segs): def _add_offsets(self, segs):
Expand Down

0 comments on commit 73014b2

Please sign in to comment.