Last active
October 7, 2015 17:33
-
-
Save nickgravish/dde61cac5be2eb9631f3 to your computer and use it in GitHub Desktop.
Interact for matplotlib plotting, data exploration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test_foo(k): | |
t = np.linspace(0,1,1000) | |
plt.figure(figsize=(8,2.5)) | |
plt.plot(t, np.sin(t*k)) | |
interact(test_foo, k=(0,1000)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment