Skip to content

Commit 9bf6550

Browse files
committed
FIX: use draw_idle instead of draw
Using draw was triggering infinite recursion, using draw_idle does not.
1 parent 58cba1f commit 9bf6550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/animation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ def _init_draw(self):
10411041

10421042
# Flush the needed axes
10431043
for fig in figs:
1044-
fig.canvas.draw()
1044+
fig.canvas.draw_idle()
10451045

10461046
def _pre_draw(self, framedata, blit):
10471047
'''

0 commit comments

Comments
 (0)