10000 MNT: Update comments. · matplotlib/matplotlib@4cb15ef · GitHub
[go: up one dir, main page]

Skip to content

Commit 4cb15ef

Browse files
committed
MNT: Update comments.
They now reflect that the figures are being redrawn, not axes.
1 parent 42b40b8 commit 4cb15ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/animation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,11 +1204,11 @@ def _init_draw(self):
12041204
for artist in f:
12051205
artist.set_visible(False)
12061206
artist.set_animated(self._blit)
1207-
# Assemble a list of unique axes that need flushing
1207+
# Assemble a list of unique figures that need flushing
12081208
if artist.axes.figure not in figs:
12091209
figs.add(artist.axes.figure)
12101210

1211-
# Flush the needed axes
1211+
# Flush the needed figures
12121212
for fig in figs:
12131213
fig.canvas.draw_idle()
12141214

0 commit comments

Comments
 (0)
0