Skip to content

Commit

Permalink
MNT: Update comments.
Browse files Browse the repository at this point in the history
They now reflect that the figures are being redrawn, not axes.
  • Loading branch information
dopplershift committed Sep 7, 2016
1 parent 42b40b8 commit 4cb15ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/matplotlib/animation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1204,11 +1204,11 @@ def _init_draw(self):
for artist in f:
artist.set_visible(False)
artist.set_animated(self._blit)
# Assemble a list of unique axes that need flushing
# Assemble a list of unique figures that need flushing
if artist.axes.figure not in figs:
figs.add(artist.axes.figure)

# Flush the needed axes
# Flush the needed figures
for fig in figs:
fig.canvas.draw_idle()

Expand Down

0 comments on commit 4cb15ef

Please sign in to comment.