(self, bbox, fontsize=None)
| 535 | self.stale = False |
| 536 | |
| 537 | def update_frame(self, bbox, fontsize=None): |
| 538 | self.patch.set_bounds(bbox.x0, bbox.y0, |
| 539 | bbox.width, bbox.height) |
| 540 | |
| 541 | if fontsize: |
| 542 | self.patch.set_mutation_scale(fontsize) |
| 543 | self.stale = True |
| 544 | |
| 545 | def draw_frame(self, renderer): |
| 546 | # update the location and size of the legend |
no test coverage detected