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

Method update_offset

site-packages/matplotlib/offsetbox.py:1743–1745  ·  view source on GitHub ↗
(self, dx, dy)

Source from the content-addressed store, hash-verified

1741 self.offsetbox.set_offset(offset)
1742
1743 def update_offset(self, dx, dy):
1744 loc_in_canvas = self.offsetbox_x + dx, self.offsetbox_y + dy
1745 self.offsetbox.set_offset(loc_in_canvas)
1746
1747 def get_loc_in_canvas(self):
1748

Callers

nothing calls this directly

Calls 1

set_offsetMethod · 0.45

Tested by

no test coverage detected