From a29c2fa9850e5d6c8032040caf02b1b3e6d782e3 Mon Sep 17 00:00:00 2001 From: Gauri Chaudhari Date: Fri, 22 Sep 2023 14:52:09 -0400 Subject: [PATCH 1/7] Removed deprecated API Removed class with @_api.deprecated("3.7") --- lib/matplotlib/patches.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/matplotlib/patches.py b/lib/matplotlib/patches.py index f80df92c62fc..55ebf3ac5a5f 100644 --- a/lib/matplotlib/patches.py +++ b/lib/matplotlib/patches.py @@ -2708,10 +2708,7 @@ class _Base: helper methods. """ - @_api.deprecated("3.7") - class SimpleEvent: - def __init__(self, xy): - self.x, self.y = xy + def _in_patch(self, patch): """ From c3e06ed18dc1f1609d2ae24002e92e65fb3fcee8 Mon Sep 17 00:00:00 2001 From: Gauri Chaudhari Date: Fri, 22 Sep 2023 14:53:10 -0400 Subject: [PATCH 2/7] Removed deprecated stub --- lib/matplotlib/patches.pyi | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/matplotlib/patches.pyi b/lib/matplotlib/patches.pyi index 29fe36aa6c6b..6a738c7cb779 100644 --- a/lib/matplotlib/patches.pyi +++ b/lib/matplotlib/patches.pyi @@ -455,8 +455,6 @@ class BoxStyle(_Style): class ConnectionStyle(_Style): class _Base(ConnectionStyle): - class SimpleEvent: - def __init__(self, xy: tuple[float, float]) -> None: ... def __call__( self, From a31970f8773a443f887a5adeee36df47d68740df Mon Sep 17 00:00:00 2001 From: Gauri Chaudhari Date: Fri, 22 Sep 2023 14:54:49 -0400 Subject: [PATCH 3/7] Create GC.rst --- doc/api/next_api_changes/removals/GC.rst | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 doc/api/next_api_changes/removals/GC.rst diff --git a/doc/api/next_api_changes/removals/GC.rst b/doc/api/next_api_changes/removals/GC.rst new file mode 100644 index 000000000000..d11ba95ef289 --- /dev/null +++ b/doc/api/next_api_changes/removals/GC.rst @@ -0,0 +1,3 @@ +class SimpleEvent + +... is removed without replacements. From c4e3310f32d645da3c4f35872653e255e5f7ec95 Mon Sep 17 00:00:00 2001 From: Gauri Chaudhari Date: Fri, 22 Sep 2023 15:04:03 -0400 Subject: [PATCH 4/7] Rename GC.rst to 26874-GC.rst --- doc/api/next_api_changes/removals/{GC.rst => 26874-GC.rst} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename doc/api/next_api_changes/removals/{GC.rst => 26874-GC.rst} (100%) diff --git a/doc/api/next_api_changes/removals/GC.rst b/doc/api/next_api_changes/removals/26874-GC.rst similarity index 100% rename from doc/api/next_api_changes/removals/GC.rst rename to doc/api/next_api_changes/removals/26874-GC.rst From 9d2859e70590853d5756a8a3c1c3c6771e90dfeb Mon Sep 17 00:00:00 2001 From: Gauri Chaudhari Date: Fri, 22 Sep 2023 15:04:24 -0400 Subject: [PATCH 5/7] Rename 26874-GC.rst to 26875-GC.rst --- doc/api/next_api_changes/removals/{26874-GC.rst => 26875-GC.rst} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename doc/api/next_api_changes/removals/{26874-GC.rst => 26875-GC.rst} (100%) diff --git a/doc/api/next_api_changes/removals/26874-GC.rst b/doc/api/next_api_changes/removals/26875-GC.rst similarity index 100% rename from doc/api/next_api_changes/removals/26874-GC.rst rename to doc/api/next_api_changes/removals/26875-GC.rst From 4a3004cb8ab7364c29fba50b96c1bcbbbbfe6124 Mon Sep 17 00:00:00 2001 From: Gauri Chaudhari Date: Fri, 22 Sep 2023 15:18:21 -0400 Subject: [PATCH 6/7] Fixed Blank lines --- lib/matplotlib/patches.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/matplotlib/patches.py b/lib/matplotlib/patches.py index 55ebf3ac5a5f..7b9e6e7aa060 100644 --- a/lib/matplotlib/patches.py +++ b/lib/matplotlib/patches.py @@ -2707,9 +2707,6 @@ class _Base: points. This base class defines a __call__ method, and a few helper methods. """ - - - def _in_patch(self, patch): """ Return a predicate function testing whether a point *xy* is From 9f4f9aa74be43a9dc545a2c462af67c1a80d9382 Mon Sep 17 00:00:00 2001 From: Gauri Chaudhari Date: Fri, 22 Sep 2023 15:19:21 -0400 Subject: [PATCH 7/7] Fixed blank lines --- lib/matplotlib/patches.pyi | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/matplotlib/patches.pyi b/lib/matplotlib/patches.pyi index 6a738c7cb779..287ea0f738ab 100644 --- a/lib/matplotlib/patches.pyi +++ b/lib/matplotlib/patches.pyi @@ -455,7 +455,6 @@ class BoxStyle(_Style): class ConnectionStyle(_Style): class _Base(ConnectionStyle): - def __call__( self, posA: tuple[float, float], 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