@@ -1025,8 +1025,11 @@ def __init__(self, ax, labels, actives=None, *, useblit=True,
1025
1025
1026
1026
.. versionadded:: 3.7
1027
1027
1028
- label_props : dict, optional
1029
- Dictionary of `.Text` properties to be used for the labels.
1028
+ label_props : dict of lists, optional
1029
+ Dictionary of `.Text` properties to be used for the labels. Each
1030
+ dictionary value should be a list of at least a single element. If
1031
+ the list is of length M, its values are cycled such that the Nth
1032
+ label gets the (N mod M) property.
1030
1033
1031
1034
.. versionadded:: 3.7
1032
1035
frame_props : dict, optional
@@ -1126,7 +1129,8 @@ def set_label_props(self, props):
1126
1129
Parameters
1127
1130
----------
1128
1131
props : dict
1129
- Dictionary of `.Text` properties to be used for the labels.
1132
+ Dictionary of `.Text` properties to be used for the labels. Same
1133
+ format as label_props argument of :class:`CheckButtons`.
1130
1134
"""
1131
1135
_api .check_isinstance (dict , props = props )
1132
1136
props = _expand_text_props (props )
@@ -1594,8 +1598,11 @@ def __init__(self, ax, labels, active=0, activecolor=None, *,
1594
1598
1595
1599
.. versionadded:: 3.7
1596
1600
1597
- label_props : dict or list of dict, optional
1598
- Dictionary of `.Text` properties to be used for the labels.
1601
+ label_props : dict of lists, optional
1602
+ Dictionary of `.Text` properties to be used for the labels. Each
1603
+ dictionary value should be a list of at least a single element. If
1604
+ the list is of length M, its values are cycled such that the Nth
1605
+ label gets the (N mod M) property.
1599
1606
1600
1607
.. versionadded:: 3.7
1601
1608
radio_props : dict, optional
@@ -1704,7 +1711,8 @@ def set_label_props(self, props):
1704
1711
Parameters
1705
1712
----------
1706
1713
props : dict
1707
- Dictionary of `.Text` properties to be used for the labels.
1714
+ Dictionary of `.Text` properties to be used for the labels. Same
1715
+ format as label_props argument of :class:`RadioButtons`.
1708
1716
"""
1709
1717
_api .check_isinstance (dict , props = props )
1710
1718
props = _expand_text_props (props )
0 commit comments