@@ -1001,14 +1001,8 @@ class CheckButtons(AxesWidget):
1001
1001
----------
1002
1002
ax : `~matplotlib.axes.Axes`
1003
1003
The parent Axes for the widget.
1004
-
1005
1004
labels : list of `~matplotlib.text.Text`
1006
-
1007
- rectangles : list of `~matplotlib.patches.Rectangle`
1008
-
1009
- lines : list of (`.Line2D`, `.Line2D`) pairs
1010
- List of lines for the x's in the checkboxes. These lines exist for
1011
- each box, but have ``set_visible(False)`` when its box is not checked.
1005
+ The text label objects of the check buttons.
1012
1006
"""
1013
1007
1014
1008
def __init__ (self , ax , labels , actives = None , * , useblit = True ,
@@ -1571,8 +1565,6 @@ class RadioButtons(AxesWidget):
1571
1565
The color of the selected button.
1572
1566
labels : list of `.Text`
1573
1567
The button labels.
1574
- circles : list of `~.patches.Circle`
1575
- The buttons.
1576
1568
value_selected : str
1577
1569
The label text of the currently selected button.
1578
1570
index_selected : int
@@ -1751,11 +1743,6 @@ def activecolor(self, activecolor):
1751
1743
colors ._check_color_like (activecolor = activecolor )
1752
1744
self ._activecolor = activecolor
1753
1745
self .set_radio_props ({'facecolor' : activecolor })
1754
- # Make sure the deprecated version is updated.
1755
- # Remove once circles is removed.
1756
- labels = [label .get_text () for label in self .labels ]
1757
- with cbook ._setattr_cm (self , eventson = False ):
1758
- self .set_active (labels .index (self .value_selected ))
1759
1746
1760
1747
def set_active (self , index ):
1761
1748
"""
0 commit comments