From 8d8d3f5c11a6e086e53163a6986a771f5b11f5bc Mon Sep 17 00:00:00 2001 From: Kyle Sunden Date: Wed, 7 Dec 2022 11:28:45 -0600 Subject: [PATCH] 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. --- lib/matplotlib/axes/_base.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/matplotlib/axes/_base.py b/lib/matplotlib/axes/_base.py index 056ff7ea2ced..5cfe0af48535 100644 --- a/lib/matplotlib/axes/_base.py +++ b/lib/matplotlib/axes/_base.py @@ -1028,13 +1028,6 @@ def _update_transScale(self): self.transScale.set( mtransforms.blended_transform_factory( self.xaxis.get_transform(), self.yaxis.get_transform())) - for line in getattr(self, "_children", []): # Not set during init. - if not isinstance(line, mlines.Line2D): - continue - try: - line._transformed_path.invalidate() - except AttributeError: - pass def get_position(self, original=False): """ pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy