We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 650881e commit 4f5791aCopy full SHA for 4f5791a
spatialmath/base/animate.py
@@ -249,7 +249,7 @@ def update(frame, animation):
249
# animation and wait for its callback to be deregistered.
250
while True:
251
plt.pause(0.25)
252
- if len(_ani.event_source.callbacks) == 0:
+ if _ani.event_source is None or len(_ani.event_source.callbacks) == 0:
253
break
254
255
def __repr__(self):
0 commit comments