Skip to content

Commit cd75b40

Browse files
committed
CheckButtons: trivial docstring suggestion by story645
1 parent de43c28 commit cd75b40

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎lib/matplotlib/widgets.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,6 +1054,7 @@ def __init__(self, ax, labels, *, layout=None, useblit=True, label_props=None):
10541054
label_props = _expand_text_props(label_props)
10551055

10561056
# Calculate button and label positions
1057+
# TODO(@doronbehar -- @story645): This part and the self.labels created below will be modified once the classes structure will be agreed upon.
10571058
self._button_xs, self._button_ys, label_xs, label_ys = _calculate_widget_button_layout(
10581059
ax, labels, label_props, layout
10591060
)
@@ -1183,8 +1184,8 @@ def __init__(self, ax, labels, actives=None, *, layout=None, useblit=True,
11831184
11841185
.. admonition:: Provisional
11851186
The new layout options are provisional. Their algorithmic
1186-
behavior, including if and when a figure redraw happens, as well
1187-
as the the exact positions of buttons and labels may still change
1187+
behavior, including the exact positions of buttons and labels
1188+
and if and when a figure redraw happens, may still change
11881189
without prior warning.
11891190
11901191
.. versionadded:: 3.11

0 commit comments

Comments
 (0)