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 637d4d3 commit 3a380e5Copy full SHA for 3a380e5
1 file changed
examples/widgets/check_buttons.py
@@ -39,7 +39,7 @@
39
def callback(label):
40
ln = lines_by_label[label]
41
ln.set_visible(not ln.get_visible())
42
- plt.draw()
+ ln.figure.canvas.draw_idle()
43
44
check.on_clicked(callback)
45
0 commit comments