Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8db4b40

Browse files
committed
FIX: remove recursive call to str in transform repr
1 parent 922c950 commit 8db4b40

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
@@ -1053,8 +1053,6 @@ def __str__(self):
10531053
_indent_str(self._bbox),
10541054
_indent_str(self._transform)))
10551055

1056-
__repr__ = __str__
1057-
10581056
def get_points(self):
10591057
if self._invalid:
10601058
p = self._bbox.get_points()
@@ -1140,8 +1138,6 @@ def __str__(self):
11401138
_indent_str(self._bbox),
11411139
_indent_str(self._locked_points)))
11421140

1143-
__repr__ = __str__
1144-
11451141
def get_points(self):
11461142
if self._invalid:
11471143
points = self._bbox.get_points()
@@ -1621,9 +1617,6 @@ def inverted(self):
16211617
"""
16221618
raise NotImplementedError()
16231619

1624-
def __repr__(self):
1625-
return str(self)
1626-
16271620

16281621
class TransformWrapper(Transform):
16291622
"""

0 commit comments

Comments
 (0)