MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / update_frame

Method update_frame

site-packages/matplotlib/offsetbox.py:537–543  ·  view source on GitHub ↗
(self, bbox, fontsize=None)

Source from the content-addressed store, hash-verified

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

Callers 1

draw_frameMethod · 0.95

Calls 2

set_boundsMethod · 0.45
set_mutation_scaleMethod · 0.45

Tested by

no test coverage detected