Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc06a97e

Browse files
Removing deprecated api from patches (#26890)
* Removed deprecated class SimpleEvents* Removed deprecated SimpleEvents class* Create 26886-GC.rst* Removing whitespaces* Removing whitespaces* Rename 26886-GC.rst to 26888-GC.rst* Update 26888-GC.rst* Update 26888-GC.rst* Rename 26888-GC.rst to 26889-GC.rst* Update 26890-GC.rst
1 parent6d5f286 commitc06a97e

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Removing Deprecated API SimpleEvent
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
``matplotlib.patches.ConnectionStyle._Base.SimpleEvent``

‎lib/matplotlib/patches.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2707,12 +2707,6 @@ class _Base:
27072707
points. This base class defines a __call__ method, and a few
27082708
helper methods.
27092709
"""
2710-
2711-
@_api.deprecated("3.7")
2712-
classSimpleEvent:
2713-
def__init__(self,xy):
2714-
self.x,self.y=xy
2715-
27162710
def_in_patch(self,patch):
27172711
"""
27182712
Return a predicate function testing whether a point *xy* is

‎lib/matplotlib/patches.pyi

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -455,9 +455,6 @@ class BoxStyle(_Style):
455455

456456
classConnectionStyle(_Style):
457457
class_Base(ConnectionStyle):
458-
classSimpleEvent:
459-
def__init__(self,xy:tuple[float,float])->None: ...
460-
461458
def__call__(
462459
self,
463460
posA:tuple[float,float],

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp