@@ -1016,8 +1016,11 @@ def __init__(self, ax, labels, actives=None, *, useblit=True,
1016
1016
1017
1017
.. versionadded:: 3.7
1018
1018
1019
- label_props : dict, optional
1020
- Dictionary of `.Text` properties to be used for the labels.
1019
+ label_props : dict of lists, or list of dict, optional
1020
+ Dictionary of `.Text` properties to be used for the labels. Each
1021
+ dictionary value should be a list of at least a single element. If
1022
+ the list is of length M, its values are cycled such that the Nth
1023
+ label gets the (N mod M) property.
1021
1024
1022
1025
.. versionadded:: 3.7
1023
1026
frame_props : dict, optional
@@ -1117,7 +1120,8 @@ def set_label_props(self, props):
1117
1120
Parameters
1118
1121
----------
1119
1122
props : dict
1120
- Dictionary of `.Text` properties to be used for the labels.
1123
+ Dictionary of `.Text` properties to be used for the labels. Same
1124
+ format as label_props argument of `__init__`.
1121
1125
"""
1122
1126
_api .check_isinstance (dict , props = props )
1123
1127
props = _expand_text_props (props )
@@ -1585,8 +1589,11 @@ def __init__(self, ax, labels, active=0, activecolor=None, *,
1585
1589
1586
1590
.. versionadded:: 3.7
1587
1591
1588
- label_props : dict or list of dict, optional
1589
- Dictionary of `.Text` properties to be used for the labels.
1592
+ label_props : dict of lists, or list of dict, optional
1593
+ Dictionary of `.Text` properties to be used for the labels. Each
1594
+ dictionary value should be a list of at least a single element. If
1595
+ the list is of length M, its values are cycled such that the Nth
1596
+ label gets the (N mod M) property.
1590
1597
1591
1598
.. versionadded:: 3.7
1592
1599
radio_props : dict, optional
@@ -1695,7 +1702,8 @@ def set_label_props(self, props):
1695
1702
Parameters
1696
1703
----------
1697
1704
props : dict
1698
- Dictionary of `.Text` properties to be used for the labels.
1705
+ Dictionary of `.Text` properties to be used for the labels. Same
1706
+ format as label_props argument of `__init__`.
1699
1707
"""
1700
1708
_api .check_isinstance (dict , props = props )
1701
1709
props = _expand_text_props (props )
0 commit comments