File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 16
16
no need to re-draw all of the ticks and tick-labels (particularly
17
17
because text is one of the more expensive things to render).
18
18
19
- The procedure to save our work is roughly :
19
+ The procedure to save our work is rough :
20
20
21
21
- draw the figure, but exclude any artists marked as 'animated'
22
22
- save a copy of the RBGA buffer
89
89
ln .set_ydata (np .sin (x + (j / 100 ) * np .pi ))
90
90
# re-render the artist, updating the canvas state, but not the screen
91
91
ax .draw_artist (ln )
92
- # copy the image to the GUI state, but screen might not changed yet
92
+ # copy the image to the GUI state, but screen might not be changed yet
93
93
fig .canvas .blit (fig .bbox )
94
94
# flush any pending GUI events, re-painting the screen if needed
95
95
fig .canvas .flush_events ()
@@ -216,7 +216,7 @@ def update(self):
216
216
# update the artists
217
217
ln .set_ydata (np .sin (x + (j / 100 ) * np .pi ))
218
218
fr_number .set_text ("frame: {j}" .format (j = j ))
219
- # tell the blitting manager to do it's thing
219
+ # tell the blitting manager to do its thing
220
220
bm .update ()
221
221
222
222
###############################################################################
You can’t perform that action at this time.
0 commit comments