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

Method _offset

lib/matplotlib/table.py:576–581  ·  view source on GitHub ↗

Move all the artists by ox, oy (axes coords).

(self, ox, oy)

Source from the content-addressed store, hash-verified

574 self.stale = True
575
576 def _offset(self, ox, oy):
577 """Move all the artists by ox, oy (axes coords)."""
578 for c in self._cells.values():
579 x, y = c.get_x(), c.get_y()
580 c.set_x(x + ox)
581 c.set_y(y + oy)
582
583 def _update_positions(self, renderer):
584 # called from renderer to allow more precise estimates of

Callers 2

_update_positionsMethod · 0.95
get_offsetMethod · 0.80

Calls 5

valuesMethod · 0.80
get_xMethod · 0.45
get_yMethod · 0.45
set_xMethod · 0.45
set_yMethod · 0.45

Tested by

no test coverage detected