Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/matplotlib/matplotlib
/ f
Function
f
galleries/examples/widgets/slider_demo.py:23–24 ·
view source on GitHub ↗
(t, amplitude, frequency)
Source
from the content-addressed store, hash-verified
21
22
# The parametrized function to be plotted
23
def
f(t, amplitude, frequency):
24
return
amplitude * np.sin(2 * np.pi * frequency * t)
25
26
t = np.linspace(0, 1, 1000)
27
Callers
2
slider_demo.py
File · 0.70
update
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected