Skip to content

Commit 706f57d

Browse files
committed
fixed spaces around comments
1 parent 47fbcd5 commit 706f57d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

examples/animation/simple_anim.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ def animate(i):
1515
line.set_ydata(np.sin(x + i/10.0)) # update the data
1616
return line,
1717

18-
# Init only required for blitting to give a clean slate.
19-
2018

19+
# Init only required for blitting to give a clean slate.
2120
def init():
2221
line.set_ydata(np.ma.array(x, mask=True))
2322
return line,

examples/animation/subplots.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
from matplotlib.lines import Line2D
44
import matplotlib.animation as animation
55

6+
67
# This example uses subclassing, but there is no reason that the proper
78
# function couldn't be set up and then use FuncAnimation. The code is long, but
89
# not really complex. The length is due solely to the fact that there are a
910
# total of 9 lines that need to be changed for the animation as well as 3
1011
# subplots that need initial set up.
11-
12-
1312
class SubplotAnimation(animation.TimedAnimation):
1413
def __init__(self):
1514
fig = plt.figure()

0 commit comments

Comments
 (0)