File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -91,9 +91,8 @@ def test_logscale_transform_repr():
91
91
ax .set_yscale ('log' )
92
92
s = repr (ax .transData )
93
93
94
- # check that repr of log transform returns correct string
94
+ # check that repr of log transform succeeds
95
95
s = repr (Log10Transform (nonpos = 'clip' ))
96
- assert s == "Log10Transform({!r})" .format ('clip' )
97
96
98
97
99
98
@image_comparison (baseline_images = ['logscale_nonpos_values' ], remove_text = True ,
Original file line number Diff line number Diff line change @@ -1067,8 +1067,6 @@ def __str__(self):
1067
1067
_indent_str (self ._bbox ),
1068
1068
_indent_str (self ._transform )))
1069
1069
1070
- __repr__ = __str__
1071
-
1072
1070
def get_points (self ):
1073
1071
if self ._invalid :
1074
1072
p = self ._bbox .get_points ()
@@ -1154,8 +1152,6 @@ def __str__(self):
1154
1152
_indent_str (self ._bbox ),
1155
1153
_indent_str (self ._locked_points )))
1156
1154
1157
- __repr__ = __str__
1158
-
1159
1155
def get_points (self ):
1160
1156
if self ._invalid :
1161
1157
points = self ._bbox .get_points ()
@@ -1639,9 +1635,6 @@ def inverted(self):
1639
1635
"""
1640
1636
raise NotImplementedError ()
1641
1637
1642
- def __repr__ (self ):
1643
- return str (self )
1644
-
1645
1638
1646
1639
class TransformWrapper (Transform ):
1647
1640
"""
You can’t perform that action at this time.
0 commit comments