FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

DOC: Add ref for every under examples/animation by luke396 · Pull Request #24897 · matplotlib/matplotlib · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (15) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
2 changes: 2 additions & 0 deletions examples/animation/animate_decay.py
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

- using a generator to drive an animation,
- changing axes limits during an animation.

Output generate via `matplotlib.animation.Animation.to_jshtml`.
"""

import itertools
Expand Down
2 changes: 2 additions & 0 deletions examples/animation/animated_histogram.py
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
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ def animate(frame_number):
# ``prepare_animation`` will define ``animate`` function working with supplied
# `.BarContainer`, all this is used to setup `.FuncAnimation`.

# Output generate via `matplotlib.animation.Animation.to_jshtml`.

fig, ax = plt.subplots()
_, _, bar_container = ax.hist(data, HIST_BINS, lw=1,
ec="yellow", fc="green", alpha=0.5)
Expand Down
2 changes: 2 additions & 0 deletions examples/animation/animation_demo.py
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
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
examples that use it.

Note that calling `time.sleep` instead of `~.pyplot.pause` would *not* work.

Output generate via `matplotlib.animation.Animation.to_jshtml`.
"""

import matplotlib.pyplot as plt
Expand Down
2 changes: 2 additions & 0 deletions examples/animation/bayes_update.py
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
new data arrives.
The vertical line represents the theoretical value to which the plotted
distribution should converge.

Output generate via `matplotlib.animation.Animation.to_jshtml`.
"""

import math
Expand Down
2 changes: 2 additions & 0 deletions examples/animation/double_pendulum.py
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

Double pendulum formula translated from the C code at
http://www.physics.usyd.edu.au/~wheat/dpend_html/solve_dpend.c

Output generate via `matplotlib.animation.Animation.to_jshtml`.
"""

from numpy import sin, cos
Expand Down
1 change: 1 addition & 0 deletions examples/animation/dynamic_image.py
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
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Animated image using a precomputed list of images
=================================================

Output generate via `matplotlib.animation.Animation.to_jshtml`.
"""

import numpy as np
Expand Down
2 changes: 2 additions & 0 deletions examples/animation/frame_grabbing_sgskip.py
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
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
Use a MovieWriter directly to grab individual frames and write them to a
file. This avoids any event loop integration, and thus works even with the Agg
backend. This is not recommended for use in an interactive setting.

Output generate via `matplotlib.animation.Animation.to_jshtml`.
"""

import numpy as np
Expand Down
2 changes: 2 additions & 0 deletions examples/animation/multiple_axes.py
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

- how animation across multiple subplots works,
- using a figure artist in the animation.

Output generate via `matplotlib.animation.Animation.to_jshtml`.
"""

import numpy as np
Expand Down
2 changes: 2 additions & 0 deletions examples/animation/pause_resume.py
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
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

You can copy and paste individual parts, or download the entire example
using the link at the bottom of the page.

Output generate via `matplotlib.animation.Animation.to_jshtml`.
"""

import matplotlib.pyplot as plt
Expand Down
2 changes: 2 additions & 0 deletions examples/animation/rain.py
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
of 50 scatter points.

Author: Nicolas P. Rougier

Output generate via `matplotlib.animation.Animation.to_jshtml`.
"""

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions examples/animation/random_walk.py
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
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Animated 3D random walk
=======================

Output generate via `matplotlib.animation.Animation.to_jshtml`.
"""

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions examples/animation/simple_anim.py
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
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Animated line plot
==================

Output generate via `matplotlib.animation.Animation.to_jshtml`.
"""

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions examples/animation/simple_scatter.py
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
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Animated scatter saved as GIF
=============================

Output generate via `matplotlib.animation.Animation.to_jshtml`.
"""
import numpy as np
import matplotlib.pyplot as plt
Expand Down
2 changes: 2 additions & 0 deletions examples/animation/strip_chart.py
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
============

Emulates an oscilloscope.

Output generate via `matplotlib.animation.Animation.to_jshtml`.
"""

import numpy as np
Expand Down
2 changes: 2 additions & 0 deletions examples/animation/unchained.py
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
(mostly known because of the cover for Joy Division's Unknown Pleasures).

Author: Nicolas P. Rougier

Output generate via `matplotlib.animation.Animation.to_jshtml`.
"""

import numpy as np
Expand Down

Back | FazBrowse Home | New Git URL