Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/matplotlib/matplotlib
/ update_frequency
Function
update_frequency
galleries/examples/widgets/radio_buttons.py:53–56 ·
view source on GitHub ↗
(label)
Source
from the content-addressed store, hash-verified
51
52
53
def
update_frequency(label):
54
ydata = f(t, freq=FREQUENCIES[label])
55
line.set_ydata(ydata)
56
fig.canvas.draw()
57
radio.on_clicked(update_frequency)
58
59
Callers
nothing calls this directly
Calls
3
set_ydata
Method · 0.80
f
Function · 0.70
draw
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…