Skip to content

Commit 9ec3c40

Browse files
committed
MNT: revert contour deprecations
1 parent e394940 commit 9ec3c40

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/matplotlib/contour.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -929,10 +929,10 @@ def __init__(self, ax, *args,
929929
", ".join(map(repr, kwargs))
930930
)
931931

932-
allsegs = _api.deprecated("3.8", pending=True)(property(lambda self: [
932+
allsegs = (property(lambda self: [
933933
[subp.vertices for subp in p._iter_connected_components()]
934934
for p in self.get_paths()]))
935-
allkinds = _api.deprecated("3.8", pending=True)(property(lambda self: [
935+
allkinds = (property(lambda self: [
936936
[subp.codes for subp in p._iter_connected_components()]
937937
for p in self.get_paths()]))
938938
tcolors = _api.deprecated("3.8")(property(lambda self: [
@@ -1388,7 +1388,6 @@ def _find_nearest_contour(self, xy, indices=None):
13881388

13891389
return idx_level_min, idx_vtx_min, proj_min
13901390

1391-
@_api.deprecated("3.8")
13921391
def find_nearest_contour(self, x, y, indices=None, pixel=True):
13931392
"""
13941393
Find the point in the contour plot that is closest to ``(x, y)``.

0 commit comments

Comments
 (0)