8000 Remove old `__cmp__` method. · matplotlib/matplotlib@46b9d47 · GitHub
[go: up one dir, main page]

Skip to content

Commit 46b9d47

Browse files
committed
Remove old __cmp__ method.
1 parent de302f5 commit 46b9d47

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/matplotlib/transforms.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1826,13 +1826,6 @@ def __init__(self, matrix=None, **kwargs):
18261826
def __repr__(self):
18271827
return "Affine2D(%s)" % repr(self._mtx)
18281828

1829-
# def __cmp__(self, other):
1830-
# # XXX redundant. this only tells us eq.
1831-
# if (isinstance(other, Affine2D) and
1832-
# (self.get_matrix() == other.get_matrix()).all()):
1833-
# return 0
1834-
# return -1
1835-
18361829
@staticmethod
18371830
def from_values(a, b, c, d, e, f):
18381831
"""

0 commit comments

Comments
 (0)
0