8000 Backport PR #24654: Don't manually invalidate cached lines in _update… · matplotlib/matplotlib@8d8d3f5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8d8d3f5

Browse files
ksundenrcomer
authored andcommitted
Backport PR #24654: Don't manually invalidate cached lines in _update_transScale
Manual backport required due to simple conflict caused by the first removed line being different in main and v3.6.x, having previously been modified at #24634.
1 parent 37035d2 commit 8d8d3f5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,13 +1028,6 @@ def _update_transScale(self):
10281028
self.transScale.set(
10291029
mtransforms.blended_transform_factory(
10301030
self.xaxis.get_transform(), self.yaxis.get_transform()))
1031-
for line in getattr(self, "_children", []): # Not set during init.
1032-
if not isinstance(line, mlines.Line2D):
1033-
continue
1034-
try:
1035-
line._transformed_path.invalidate()
1036-
except AttributeError:
1037-
pass
10381031

10391032
def get_position(self, original=False):
10401033
"""

0 commit comments

Comments
 (0)
0