Created
August 25, 2016 02:06
-
-
Save nzer0/04012ee41087fcb4940477b39afc502b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| from JSAnimation import IPython_display | |
| from matplotlib import animation | |
| fig = plt.figure() | |
| ax = plt.axes() | |
| def init(): | |
| ax.plot(some_data) | |
| def step(i): | |
| ax.plot(other_ith_data) | |
| animation.FuncAnimation(fig, step, init_func=init, | |
| frames=11, interval=100, blit=False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment