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

Method update_frame

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

Source from the content-addressed store, hash-verified

1155 self.set_offset(_offset)
1156
1157 def update_frame(self, bbox, fontsize=None):
1158 self.patch.set_bounds(bbox.x0, bbox.y0,
1159 bbox.width, bbox.height)
1160
1161 if fontsize:
1162 self.patch.set_mutation_scale(fontsize)
1163
1164 def draw(self, renderer):
1165 "draw the artist"

Callers 1

drawMethod · 0.95

Calls 2

set_boundsMethod · 0.45
set_mutation_scaleMethod · 0.45

Tested by

no test coverage detected