File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616no need to re-draw all of the ticks and tick-labels (particularly
1717because text is one of the more expensive things to render).
1818
19- The procedure to save our work is roughly :
19+ The procedure to save our work is rough :
2020
2121- draw the figure, but exclude any artists marked as 'animated'
2222- save a copy of the RBGA buffer
8989 ln .set_ydata (np .sin (x + (j / 100 ) * np .pi ))
9090 # re-render the artist, updating the canvas state, but not the screen
9191 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
9393 fig .canvas .blit (fig .bbox )
9494 # flush any pending GUI events, re-painting the screen if needed
9595 fig .canvas .flush_events ()
@@ -216,7 +216,7 @@ def update(self):
216216 # update the artists
217217 ln .set_ydata (np .sin (x + (j / 100 ) * np .pi ))
218218 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
220220 bm .update ()
221221
222222###############################################################################
You can’t perform that action at this time.
0 commit comments