Skip to content

Commit 45d2106

Browse files
authored
Merge pull request #24947 from tacaswell/auto-backport-of-pr-24897-on-v3.7.x
Auto backport of pr 24897 on v3.7.x
2 parents 4676950 + 91f3bc4 commit 45d2106

15 files changed

+26
-0
lines changed

examples/animation/animate_decay.py

+2
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 generated via `matplotlib.animation.Animation.to_jshtml`.
1012
"""
1113

1214
import itertools

examples/animation/animated_histogram.py

+2
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 generated 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

+2
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 generated via `matplotlib.animation.Animation.to_jshtml`.
1315
"""
1416

1517
import matplotlib.pyplot as plt

examples/animation/bayes_update.py

+2
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 generated via `matplotlib.animation.Animation.to_jshtml`.
1012
"""
1113

1214
import math

examples/animation/double_pendulum.py

+2
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 generated via `matplotlib.animation.Animation.to_jshtml`.
1012
"""
1113

1214
from numpy import sin, cos

examples/animation/dynamic_image.py

+1
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 generated via `matplotlib.animation.Animation.to_jshtml`.
67
"""
78

89
import numpy as np

examples/animation/frame_grabbing_sgskip.py

+2
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 generated via `matplotlib.animation.Animation.to_jshtml`.
911
"""
1012

1113
import numpy as np

examples/animation/multiple_axes.py

+2
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 generated via `matplotlib.animation.Animation.to_jshtml`.
1012
"""
1113

1214
import numpy as np

examples/animation/pause_resume.py

+2
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 generated via `matplotlib.animation.Animation.to_jshtml`.
1820
"""
1921

2022
import matplotlib.pyplot as plt

examples/animation/rain.py

+2
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 generated via `matplotlib.animation.Animation.to_jshtml`.
1012
"""
1113

1214
import numpy as np

examples/animation/random_walk.py

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Animated 3D random walk
44
=======================
55
6+
Output generated via `matplotlib.animation.Animation.to_jshtml`.
67
"""
78

89
import numpy as np

examples/animation/simple_anim.py

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Animated line plot
44
==================
55
6+
Output generated via `matplotlib.animation.Animation.to_jshtml`.
67
"""
78

89
import numpy as np

examples/animation/simple_scatter.py

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Animated scatter saved as GIF
44
=============================
55
6+
Output generated via `matplotlib.animation.Animation.to_jshtml`.
67
"""
78
import numpy as np
89
import matplotlib.pyplot as plt

examples/animation/strip_chart.py

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
============
55
66
Emulates an oscilloscope.
7+
8+
Output generated via `matplotlib.animation.Animation.to_jshtml`.
79
"""
810

911
import numpy as np

examples/animation/unchained.py

+2
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 generated via `matplotlib.animation.Animation.to_jshtml`.
1012
"""
1113

1214
import numpy as np

0 commit comments

Comments
 (0)