Skip to content

Commit b0c3d22

Browse files
committed
Correct docstring of CheckButtons.get_status
The return type is a list, not a tuple, adjust the docstring to match implementation.
1 parent a668754 commit b0c3d22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/widgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,7 @@ def set_active(self, index):
10841084

10851085
def get_status(self):
10861086
"""
1087-
Return a tuple of the status (True/False) of all of the check buttons.
1087+
Return a list of the status (True/False) of all of the check buttons.
10881088
"""
10891089
return [l1.get_visible() for (l1, l2) in self.lines]
10901090

0 commit comments

Comments
 (0)