Skip to content

Commit ae7531b

Browse files
committed
remove debug prints
1 parent 94a6681 commit ae7531b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

spatialmath/base/animate.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,9 @@ def run(self, movie=None, axes=None, repeat=False, interval=50, nframes=100, pau
151151
"""
152152

153153
def update(frame, a):
154-
print('tranimate/update', frame)
155154
T = tr.trinterp(start=self.start, end=self.end, s=frame / nframes)
156155
a._draw(T)
157156
if frame == nframes - 1:
158-
print('tranimate/update - done set')
159157
a.done = True
160158
return a.artists()
161159

@@ -165,18 +163,14 @@ def update(frame, a):
165163

166164
self.done = False
167165
ani = animation.FuncAnimation(fig=plt.gcf(), func=update, frames=range(0, nframes), fargs=(self,), blit=False, interval=interval, repeat=repeat)
168-
print('main thread enters pause loop')
169166
if movie is None:
170167
while repeat or not self.done:
171-
print('about to pause')
172168
plt.pause(0.1)
173-
print('pause done')
174169
else:
175170
# Set up formatting for the movie files
176171
print('creating movie', movie)
177172
FFwriter = animation.FFMpegWriter(fps=10, extra_args=['-vcodec', 'libx264'])
178173
ani.save(movie, writer=FFwriter)
179-
print('animate.run returns')
180174

181175
def __repr__(self):
182176
"""

0 commit comments

Comments
 (0)