Skip to content

Fix #5948: Don't clip closed paths #5955

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

Merged
merged 2 commits into from
Feb 22, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update test.
  • Loading branch information
mdboom committed Feb 1, 2016
commit a3fbee6bab5017acbb7e910b29e2070fa7a02ecd
5 changes: 1 addition & 4 deletions lib/matplotlib/tests/test_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,7 @@ def test_clipping_of_log():
simplify=False)

tpoints, tcodes = list(zip(*result))
# Because y coordinate -99 is outside the clip zone, the first
# line segment is effectively removed. That means that the closepoly
# operation must be replaced by a move to the first point.
assert np.allclose(tcodes, [M, M, L, L, L, C])
assert np.allclose(tcodes, [M, L, L, L, C])


class NonAffineForTest(mtrans.Transform):
Expand Down