(self)
| 1528 | super().__init__(fig, *args, **kwargs) |
| 1529 | |
| 1530 | def _init_draw(self): |
| 1531 | super()._init_draw() |
| 1532 | # Make all the artists involved in *any* frame invisible |
| 1533 | figs = set() |
| 1534 | for f in self.new_frame_seq(): |
| 1535 | for artist in f: |
| 1536 | artist.set_visible(False) |
| 1537 | artist.set_animated(self._blit) |
| 1538 | # Assemble a list of unique figures that need flushing |
| 1539 | if artist.get_figure() not in figs: |
| 1540 | figs.add(artist.get_figure()) |
| 1541 | |
| 1542 | # Flush the needed figures |
| 1543 | for fig in figs: |
| 1544 | fig.canvas.draw_idle() |
| 1545 | |
| 1546 | def _pre_draw(self, framedata, blit): |
| 1547 | """Clears artists from the last frame.""" |
nothing calls this directly
no test coverage detected