Clears artists from the last frame.
(self, framedata, blit)
| 1544 | fig.canvas.draw_idle() |
| 1545 | |
| 1546 | def _pre_draw(self, framedata, blit): |
| 1547 | """Clears artists from the last frame.""" |
| 1548 | if blit: |
| 1549 | # Let blit handle clearing |
| 1550 | self._blit_clear(self._drawn_artists) |
| 1551 | else: |
| 1552 | # Otherwise, make all the artists from the previous frame invisible |
| 1553 | for artist in self._drawn_artists: |
| 1554 | artist.set_visible(False) |
| 1555 | |
| 1556 | def _draw_frame(self, artists): |
| 1557 | # Save the artists that were passed in as framedata for the other |
nothing calls this directly
no test coverage detected