Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c8c47c0

Browse filesBrowse files
tacaswellmeeseeksmachine
authored andcommitted
Backport PR #24897: DOC: Add ref for every under examples/animation
1 parent 8dd1058 commit c8c47c0
Copy full SHA for c8c47c0
Expand file treeCollapse file tree

15 files changed

+26
-0
lines changed

‎examples/animation/animate_decay.py

Copy file name to clipboardExpand all lines: examples/animation/animate_decay.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
88
- using a generator to drive an animation,
99
- changing axes limits during an animation.
10+
11+
Output generate via `matplotlib.animation.Animation.to_jshtml`.
1012
"""
1113

1214
import itertools

‎examples/animation/animated_histogram.py

Copy file name to clipboardExpand all lines: examples/animation/animated_histogram.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ def animate(frame_number):
4545
# ``prepare_animation`` will define ``animate`` function working with supplied
4646
# `.BarContainer`, all this is used to setup `.FuncAnimation`.
4747

48+
# Output generate via `matplotlib.animation.Animation.to_jshtml`.
49+
4850
fig, ax = plt.subplots()
4951
_, _, bar_container = ax.hist(data, HIST_BINS, lw=1,
5052
ec="yellow", fc="green", alpha=0.5)

‎examples/animation/animation_demo.py

Copy file name to clipboardExpand all lines: examples/animation/animation_demo.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
examples that use it.
1111
1212
Note that calling `time.sleep` instead of `~.pyplot.pause` would *not* work.
13+
14+
Output generate via `matplotlib.animation.Animation.to_jshtml`.
1315
"""
1416

1517
import matplotlib.pyplot as plt

‎examples/animation/bayes_update.py

Copy file name to clipboardExpand all lines: examples/animation/bayes_update.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
new data arrives.
88
The vertical line represents the theoretical value to which the plotted
99
distribution should converge.
10+
11+
Output generate via `matplotlib.animation.Animation.to_jshtml`.
1012
"""
1113

1214
import math

‎examples/animation/double_pendulum.py

Copy file name to clipboardExpand all lines: examples/animation/double_pendulum.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
88
Double pendulum formula translated from the C code at
99
http://www.physics.usyd.edu.au/~wheat/dpend_html/solve_dpend.c
10+
11+
Output generate via `matplotlib.animation.Animation.to_jshtml`.
1012
"""
1113

1214
from numpy import sin, cos

‎examples/animation/dynamic_image.py

Copy file name to clipboardExpand all lines: examples/animation/dynamic_image.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Animated image using a precomputed list of images
44
=================================================
55
6+
Output generate via `matplotlib.animation.Animation.to_jshtml`.
67
"""
78

89
import numpy as np

‎examples/animation/frame_grabbing_sgskip.py

Copy file name to clipboardExpand all lines: examples/animation/frame_grabbing_sgskip.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
Use a MovieWriter directly to grab individual frames and write them to a
77
file. This avoids any event loop integration, and thus works even with the Agg
88
backend. This is not recommended for use in an interactive setting.
9+
10+
Output generate via `matplotlib.animation.Animation.to_jshtml`.
911
"""
1012

1113
import numpy as np

‎examples/animation/multiple_axes.py

Copy file name to clipboardExpand all lines: examples/animation/multiple_axes.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
88
- how animation across multiple subplots works,
99
- using a figure artist in the animation.
10+
11+
Output generate via `matplotlib.animation.Animation.to_jshtml`.
1012
"""
1113

1214
import numpy as np

‎examples/animation/pause_resume.py

Copy file name to clipboardExpand all lines: examples/animation/pause_resume.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
1616
You can copy and paste individual parts, or download the entire example
1717
using the link at the bottom of the page.
18+
19+
Output generate via `matplotlib.animation.Animation.to_jshtml`.
1820
"""
1921

2022
import matplotlib.pyplot as plt

‎examples/animation/rain.py

Copy file name to clipboardExpand all lines: examples/animation/rain.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
of 50 scatter points.
88
99
Author: Nicolas P. Rougier
10+
11+
Output generate via `matplotlib.animation.Animation.to_jshtml`.
1012
"""
1113

1214
import numpy as np

‎examples/animation/random_walk.py

Copy file name to clipboardExpand all lines: examples/animation/random_walk.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Animated 3D random walk
44
=======================
55
6+
Output generate via `matplotlib.animation.Animation.to_jshtml`.
67
"""
78

89
import numpy as np

‎examples/animation/simple_anim.py

Copy file name to clipboardExpand all lines: examples/animation/simple_anim.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Animated line plot
44
==================
55
6+
Output generate via `matplotlib.animation.Animation.to_jshtml`.
67
"""
78

89
import numpy as np

‎examples/animation/simple_scatter.py

Copy file name to clipboardExpand all lines: examples/animation/simple_scatter.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Animated scatter saved as GIF
44
=============================
55
6+
Output generate via `matplotlib.animation.Animation.to_jshtml`.
67
"""
78
import numpy as np
89
import matplotlib.pyplot as plt

‎examples/animation/strip_chart.py

Copy file name to clipboardExpand all lines: examples/animation/strip_chart.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
============
55
66
Emulates an oscilloscope.
7+
8+
Output generate via `matplotlib.animation.Animation.to_jshtml`.
79
"""
810

911
import numpy as np

‎examples/animation/unchained.py

Copy file name to clipboardExpand all lines: examples/animation/unchained.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
(mostly known because of the cover for Joy Division's Unknown Pleasures).
88
99
Author: Nicolas P. Rougier
10+
11+
Output generate via `matplotlib.animation.Animation.to_jshtml`.
1012
"""
1113

1214
import numpy as np

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.