MCPcopy 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
53def update_frequency(label):
54 ydata = f(t, freq=FREQUENCIES[label])
55 line.set_ydata(ydata)
56 fig.canvas.draw()
57radio.on_clicked(update_frequency)
58
59

Callers

nothing calls this directly

Calls 3

set_ydataMethod · 0.80
fFunction · 0.70
drawMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…