Skip to content

Commit 82796e8

Browse files
committed
alternative fix, that should pass tests
1 parent fc542bf commit 82796e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/matplotlib/transforms.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1838,6 +1838,9 @@ def get_matrix(self):
18381838
18391839
.
18401840
"""
1841+
if self._invalid:
1842+
self._inverted = None
1843+
self._invalid = 0
18411844
return self._mtx
18421845

18431846
def set_matrix(self, mtx):

0 commit comments

Comments
 (0)