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 ef29e67 commit 13ff1f7Copy full SHA for 13ff1f7
1 file changed
examples/widgets/check_buttons.py
@@ -17,8 +17,8 @@
17
18
# Make checkbuttons with all plotted lines with correct visibility
19
rax = plt.axes([0.05, 0.4, 0.1, 0.15])
20
-labels = [str(graph.get_label()) for graph in lines]
21
-visibility = [graph.get_visible() for graph in lines]
+labels = [str(line.get_label()) for line in lines]
+visibility = [line.get_visible() for line in lines]
22
check = CheckButtons(rax, labels, visibility)
23
24
def func(label):
0 commit comments