MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / update_frame

Method update_frame

lib/matplotlib/offsetbox.py:585–589  ·  view source on GitHub ↗
(self, bbox, fontsize=None)

Source from the content-addressed store, hash-verified

583 self.stale = False
584
585 def update_frame(self, bbox, fontsize=None):
586 self.patch.set_bounds(bbox.bounds)
587 if fontsize:
588 self.patch.set_mutation_scale(fontsize)
589 self.stale = True
590
591 def draw_frame(self, renderer):
592 # update the location and size of the legend

Callers 1

draw_frameMethod · 0.95

Calls 2

set_boundsMethod · 0.45
set_mutation_scaleMethod · 0.45

Tested by

no test coverage detected