Skip to content

Commit e64f758

Browse files
committed
Remove deprecations: is_bbox and more
1 parent 759765c commit e64f758

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

lib/matplotlib/transforms.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ class TransformNode:
9898
# Some metadata about the transform, used to determine whether an
9999
# invalidation is affine-only
100100
is_affine = False
101-
is_bbox = _api.deprecated("3.9")(_api.classproperty(lambda cls: False))
102101

103102
pass_through = False
104103
"""
@@ -216,7 +215,6 @@ class BboxBase(TransformNode):
216215
and height, but these are not stored explicitly.
217216
"""
218217

219-
is_bbox = _api.deprecated("3.9")(_api.classproperty(lambda cls: True))
220218
is_affine = True
221219

222220
if DEBUG:

lib/matplotlib/transforms.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ class TransformNode:
1212
INVALID_NON_AFFINE: int
1313
INVALID_AFFINE: int
1414
INVALID: int
15-
is_bbox: bool
1615
# Implemented as a standard attr in base class, but functionally readonly and some subclasses implement as such
1716
@property
1817
def is_affine(self) -> bool: ...
@@ -24,7 +23,6 @@ class TransformNode:
2423
def frozen(self) -> TransformNode: ...
2524

2625
class BboxBase(TransformNode):
27-
is_bbox: bool
2826
is_affine: bool
2927
def frozen(self) -> Bbox: ...
3028
def __array__(self, *args, **kwargs): ...

0 commit comments

Comments
 (0)