Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/matplotlib/matplotlib
/ callback
Function
callback
galleries/examples/widgets/check_buttons.py:47–50 ·
view source on GitHub ↗
(label)
Source
from the content-addressed store, hash-verified
45
46
47
def
callback(label):
48
ln = lines_by_label[label]
49
ln.set_visible(not ln.get_visible())
50
ln.figure.canvas.draw_idle()
51
52
check.on_clicked(callback)
53
Callers
2
callback_func
Method · 0.85
mpl.js
File · 0.85
Calls
3
set_visible
Method · 0.45
get_visible
Method · 0.45
draw_idle
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…