This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
python:animation [2015/11/25 13:57] admin created |
python:animation [2021/10/25 08:53] (current) |
||
|---|---|---|---|
| Line 134: | Line 134: | ||
| from matplotlib.animation import ArtistAnimation | from matplotlib.animation import ArtistAnimation | ||
| a = ArtistAnimation(f, | a = ArtistAnimation(f, | ||
| - | a.save(' | + | a.save(' |
| show() | show() | ||
| </ | </ | ||
| Line 161: | Line 161: | ||
| from matplotlib.animation import FuncAnimation | from matplotlib.animation import FuncAnimation | ||
| a = FuncAnimation(f, | a = FuncAnimation(f, | ||
| - | a.save(' | + | a.save(' |
| show() | show() | ||
| </ | </ | ||