MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / get_checked_labels

Method get_checked_labels

lib/matplotlib/widgets.py:1484–1489  ·  view source on GitHub ↗

Return a list of labels currently checked by user.

(self)

Source from the content-addressed store, hash-verified

1482 for color in self._buttons.get_facecolors()]
1483
1484 def get_checked_labels(self):
1485 """Return a list of labels currently checked by user."""
1486
1487 return [l.get_text() for l, box_checked in
1488 zip(self.labels, self.get_status())
1489 if box_checked]
1490
1491
1492class TextBox(AxesWidget):

Callers 1

test_CheckButtonsFunction · 0.95

Calls 2

get_statusMethod · 0.95
get_textMethod · 0.45

Tested by 1

test_CheckButtonsFunction · 0.76