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

Commit5044e8f

Browse files
committed
26865 removing deprecations to patches.py and axislines.py
1 parentff552f4 commit5044e8f

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
``passthru_pt``
2+
~~~~~~~~~~~~~~~
3+
4+
This attribute of ``AxisArtistHelper``\s is deprecated.
5+
6+
``SimpleEvent``
7+
~~~~~~~~~~~~~~~
8+
9+
The ``SimpleEvent`` nested class (previously accessible via the public
10+
subclasses of ``ConnectionStyle._Base``, such as `.ConnectionStyle.Arc`, has
11+
been deprecated.

‎lib/matplotlib/patches.py‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2708,11 +2708,6 @@ class _Base:
27082708
helper methods.
27092709
"""
27102710

2711-
@_api.deprecated("3.7")
2712-
classSimpleEvent:
2713-
def__init__(self,xy):
2714-
self.x,self.y=xy
2715-
27162711
def_in_patch(self,patch):
27172712
"""
27182713
Return a predicate function testing whether a point *xy* is

‎lib/matplotlib/patches.pyi‎

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

456456
classConnectionStyle(_Style):
457457
class_Base(ConnectionStyle):
458-
classSimpleEvent:
459-
def__init__(self,xy:tuple[float,float])->None: ...
460458

461459
def__call__(
462460
self,

‎lib/mpl_toolkits/axisartist/axislines.py‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,6 @@ def _to_xy(self, values, const):
112112
class_FixedAxisArtistHelperBase(_AxisArtistHelperBase):
113113
"""Helper class for a fixed (in the axes coordinate) axis."""
114114

115-
passthru_pt=_api.deprecated("3.7")(property(
116-
lambdaself: {"left": (0,0),"right": (1,0),
117-
"bottom": (0,0),"top": (0,1)}[self._loc]))
118-
119115
def__init__(self,loc,nth_coord=None):
120116
"""``nth_coord = 0``: x-axis; ``nth_coord = 1``: y-axis."""
121117
self.nth_coord= (

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp