@@ -2167,7 +2167,9 @@ def __init__(self, ax, onselect, direction, minspan=0, useblit=False,
2167
2167
# prev attribute is deprecated but we still need to maintain it
2168
2168
self ._prev = (0 , 0 )
2169
2169
2170
- rect = _api .deprecate_privatize_attribute ("3.5" )
2170
+ rect = _api .deprecated ("3.5" )(
2171
+ property (lambda self : self .artists [0 ])
2172
+ )
2171
2173
2172
2174
rectprops = _api .deprecated ("3.5" )(
2173
2175
property (lambda self : self ._props )
@@ -2799,7 +2801,9 @@ def __init__(self, ax, onselect, drawtype='box',
2799
2801
2800
2802
self ._extents_on_press = None
2801
2803
2802
- to_draw = _api .deprecate_privatize_attribute ("3.5" )
2804
+ to_draw = _api .deprecated ("3.5" )(
2805
+ property (lambda self : self .artists [0 ])
2806
+ )
2803
2807
2804
2808
drawtype = _api .deprecate_privatize_attribute ("3.5" )
2805
2809
@@ -3338,6 +3342,10 @@ def __init__(self, ax, onselect, useblit=False,
3338
3342
self ._artists = [line ] + list (self ._handles_artists )
3339
3343
self .set_visible (True )
3340
3344
3345
+ line = _api .deprecated ("3.5" )(
3346
+ property (lambda self : self .artists [0 ])
3347
+ )
3348
+
3341
3349
vertex_select_radius = _api .deprecated ("3.5" , name = "vertex_select_radius" ,
3342
3350
alternative = "grab_range" )(
3343
3351
property (lambda self : self .grab_range ,
0 commit comments