File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Original file line number Diff line number Diff line change @@ -1081,7 +1081,7 @@ class ArtistAnimation(TimedAnimation):
1081
1081
Before calling this function, all plotting should have taken place
1082
1082
and the relevant artists saved.
1083
1083
1084
- frame_info is a list, with each list entry a collection of artists that
1084
+ *artists* is a list, with each list entry a collection of artists that
1085
1085
represent what needs to be enabled on each frame. These will be disabled
1086
1086
for other frames.
1087
1087
'''
@@ -1101,11 +1101,11 @@ def _init_draw(self):
1101
1101
for artist in f :
1102
1102
artist .set_visible (False )
1103
1103
artist .set_animated (self ._blit )
1104
- # Assemble a list of unique axes that need flushing
1105
- if artist .axes . figure not in figs :
1106
- figs .add (artist .axes . figure )
1104
+ # Assemble a list of unique figures that need flushing
1105
+ if artist .get_figure () not in figs :
1106
+ figs .add (artist .get_figure () )
1107
1107
1108
- # Flush the needed axes
1108
+ # Flush the needed figures
1109
1109
for fig in figs :
1110
1110
fig .canvas .draw_idle ()
1111
1111
You can’t perform that action at this time.
0 commit comments