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

Method update_offset

lib/matplotlib/offsetbox.py:1664–1666  ·  view source on GitHub ↗
(self, dx, dy)

Source from the content-addressed store, hash-verified

1662 self.offsetbox.set_offset(offset)
1663
1664 def update_offset(self, dx, dy):
1665 loc_in_canvas = self.offsetbox_x + dx, self.offsetbox_y + dy
1666 self.offsetbox.set_offset(loc_in_canvas)
1667
1668 def get_loc_in_canvas(self):
1669 offsetbox = self.offsetbox

Callers

nothing calls this directly

Calls 1

set_offsetMethod · 0.45

Tested by

no test coverage detected