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

Skip to content

Commit c04a641

Browse files
committed
alternative fix, that should pass tests
1 parent f46867e commit c04a641

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
@@ -1850,6 +1850,9 @@ def get_matrix(self):
18501850
18511851
.
18521852
"""
1853+
if self._invalid:
1854+
self._inverted = None
1855+
self._invalid = 0
18531856
return self._mtx
18541857

18551858
def set_matrix(self, mtx):

0 commit comments

Comments
 (0)