Skip to content

Commit 85b1874

Browse files
authored
Merge pull request #24654 from anntzer/utsl
Don't manually invalidate cached lines in _update_transScale.
2 parents aa4af14 + 6a54abd commit 85b1874

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/matplotlib/axes/_base.py

-7
Original file line numberDiff line numberDiff line change
@@ -1079,13 +1079,6 @@ def _update_transScale(self):
10791079
self.transScale.set(
10801080
mtransforms.blended_transform_factory(
10811081
self.xaxis.get_transform(), self.yaxis.get_transform()))
1082-
for line in self._children:
1083-
if not isinstance(line, mlines.Line2D):
1084-
continue
1085-
try:
1086-
line._transformed_path.invalidate()
1087-
except AttributeError:
1088-
pass
10891082

10901083
def get_position(self, original=False):
10911084
"""

0 commit comments

Comments
 (0)