@@ -111,8 +111,6 @@ class AxesWidget(Widget):
111111 If False, the widget does not respond to events.
112112 """
113113
114- cids = _api .deprecated ("3.4" )(property (lambda self : self ._cids ))
115-
116114 def __init__ (self , ax ):
117115 self .ax = ax
118116 self .canvas = ax .figure .canvas
@@ -153,11 +151,6 @@ class Button(AxesWidget):
153151 The color of the button when hovering.
154152 """
155153
156- cnt = _api .deprecated ("3.4" )(property ( # Not real, but close enough.
157- lambda self : len (self ._observers .callbacks ['clicked' ])))
158- observers = _api .deprecated ("3.4" )(property (
159- lambda self : self ._observers .callbacks ['clicked' ]))
160-
161154 def __init__ (self , ax , label , image = None ,
162155 color = '0.85' , hovercolor = '0.95' ):
163156 """
@@ -323,11 +316,6 @@ class Slider(SliderBase):
323316 Slider value.
324317 """
325318
326- cnt = _api .deprecated ("3.4" )(property ( # Not real, but close enough.
327- lambda self : len (self ._observers .callbacks ['changed' ])))
328- observers = _api .deprecated ("3.4" )(property (
329- lambda self : self ._observers .callbacks ['changed' ]))
330-
331319 def __init__ (self , ax , label , valmin , valmax , valinit = 0.5 , valfmt = None ,
332320 closedmin = True , closedmax = True , slidermin = None ,
333321 slidermax = None , dragging = True , valstep = None ,
@@ -989,11 +977,6 @@ class CheckButtons(AxesWidget):
989977 each box, but have ``set_visible(False)`` when its box is not checked.
990978 """
991979
992- cnt = _api .deprecated ("3.4" )(property ( # Not real, but close enough.
993- lambda self : len (self ._observers .callbacks ['clicked' ])))
994- observers = _api .deprecated ("3.4" )(property (
995- lambda self : self ._observers .callbacks ['clicked' ]))
996-
997980 def __init__ (self , ax , labels , actives = None ):
998981 """
999982 Add check buttons to `matplotlib.axes.Axes` instance *ax*.
@@ -1141,12 +1124,6 @@ class TextBox(AxesWidget):
11411124 The color of the text box when hovering.
11421125 """
11431126
1144- cnt = _api .deprecated ("3.4" )(property ( # Not real, but close enough.
1145- lambda self : sum (len (d ) for d in self ._observers .callbacks .values ())))
1146- change_observers = _api .deprecated ("3.4" )(property (
1147- lambda self : self ._observers .callbacks ['change' ]))
1148- submit_observers = _api .deprecated ("3.4" )(property (
1149- lambda self : self ._observers .callbacks ['submit' ]))
11501127 DIST_FROM_LEFT = _api .deprecate_privatize_attribute ("3.5" )
11511128
11521129 def __init__ (self , ax , label , initial = '' ,
@@ -1477,11 +1454,6 @@ def __init__(self, ax, labels, active=0, activecolor='blue'):
14771454
14781455 self ._observers = cbook .CallbackRegistry (signals = ["clicked" ])
14791456
1480- cnt = _api .deprecated ("3.4" )(property ( # Not real, but close enough.
1481- lambda self : len (self ._observers .callbacks ['clicked' ])))
1482- observers = _api .deprecated ("3.4" )(property (
1483- lambda self : self ._observers .callbacks ['clicked' ]))
1484-
14851457 def _clicked (self , event ):
14861458 if self .ignore (event ) or event .button != 1 or event .inaxes != self .ax :
14871459 return
0 commit comments