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

Method update_frame

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

Source from the content-addressed store, hash-verified

1079 return x0 - bbox.x0, y0 - bbox.y0
1080
1081 def update_frame(self, bbox, fontsize=None):
1082 self.patch.set_bounds(bbox.bounds)
1083 if fontsize:
1084 self.patch.set_mutation_scale(fontsize)
1085
1086 def draw(self, renderer):
1087 # docstring inherited

Callers 1

drawMethod · 0.95

Calls 2

set_boundsMethod · 0.45
set_mutation_scaleMethod · 0.45

Tested by

no test coverage detected