File tree 2 files changed +1
-9
lines changed 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -89,9 +89,8 @@ def test_logscale_transform_repr():
89
89
ax .set_yscale ('log' )
90
90
s = repr (ax .transData )
91
91
92
- # check that repr of log transform returns correct string
92
+ # check that repr of log transform succeeds
93
93
s = repr (Log10Transform (nonpos = 'clip' ))
94
- assert s == "Log10Transform({!r})" .format ('clip' )
95
94
96
95
97
96
@image_comparison (baseline_images = ['logscale_nonpos_values' ], remove_text = True ,
Original file line number Diff line number Diff line change @@ -1053,8 +1053,6 @@ def __str__(self):
1053
1053
_indent_str (self ._bbox ),
1054
1054
_indent_str (self ._transform )))
1055
1055
1056
- __repr__ = __str__
1057
-
1058
1056
def get_points (self ):
1059
1057
if self ._invalid :
1060
1058
p = self ._bbox .get_points ()
@@ -1140,8 +1138,6 @@ def __str__(self):
1140
1138
_indent_str (self ._bbox ),
1141
1139
_indent_str (self ._locked_points )))
1142
1140
1143
- __repr__ = __str__
1144
-
1145
1141
def get_points (self ):
1146
1142
if self ._invalid :
1147
1143
points = self ._bbox .get_points ()
@@ -1621,9 +1617,6 @@ def inverted(self):
1621
1617
"""
1622
1618
raise NotImplementedError ()
1623
1619
1624
- def __repr__ (self ):
1625
- return str (self )
1626
-
1627
1620
1628
1621
class TransformWrapper (Transform ):
1629
1622
"""
You can’t perform that action at this time.
0 commit comments