Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2cccf8 commit 7a96a82Copy full SHA for 7a96a82
1 file changed
lib/matplotlib/widgets.py
@@ -474,7 +474,7 @@ def reset(self):
474
475
class CheckButtons(AxesWidget):
476
"""
477
- A GUI neutral radio button.
+ A GUI neutral set of check buttons.
478
479
For the check buttons to remain responsive you must keep a
480
reference to this object.
@@ -602,6 +602,12 @@ def set_active(self, index):
602
return
603
for cid, func in six.iteritems(self.observers):
604
func(self.labels[index].get_text())
605
+
606
+ def get_status(self):
607
+ """
608
+ returns a tuple of the status (True/False) of all of the check buttons
609
610
+ return [l1.get_visible() for (l1,l2) in self.lines]
611
612
def on_clicked(self, func):
613
0 commit comments