Skip to content

Commit e16ac27

Browse files
committed
26865 removing deprecations to axislines.py
1 parent ff552f4 commit e16ac27

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
``passthru_pt``
2+
~~~~~~~~~~~~~~~
3+
4+
This attribute of ``AxisArtistHelper``\s has been removed.

lib/matplotlib/patches.pyi

+3-1
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,10 @@ class BoxStyle(_Style):
455455

456456
class ConnectionStyle(_Style):
457457
class _Base(ConnectionStyle):
458+
@ api.deprecated("3.7")
458459
class SimpleEvent:
459-
def __init__(self, xy: tuple[float, float]) -> None: ...
460+
def __init__(self, xy):
461+
self.x, self.y = xy
460462

461463
def __call__(
462464
self,

lib/mpl_toolkits/axisartist/axislines.py

-4
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-
lambda self: {"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)