8000 Merge remote-tracking branch 'upstream/v1.3.x' · OceanWolf/matplotlib@eb12e9a · GitHub
[go: up one dir, main page]

Skip to content

Commit eb12e9a

Browse files
committed
Merge remote-tracking branch 'upstream/v1.3.x'
2 parents a2dc36f + 66647b0 commit eb12e9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/transforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1563,7 +1563,7 @@ def _concat(a, b):
15631563
return np.dot(b, a)
15641564

15651565
def __eq__(self, other):
1566-
if other.is_affine:
1566+
if getattr(other, "is_affine", False):
15671567
return np.all(self.get_matrix() == other.get_matrix())
15681568
return NotImplemented
15691569

0 commit comments

Comments
 (0)
0