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

Method _offset

site-packages/matplotlib/table.py:511–516  ·  view source on GitHub ↗

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

(self, ox, oy)

Source from the content-addressed store, hash-verified

509 self.stale = True
510
511 def _offset(self, ox, oy):
512 """Move all the artists by ox, oy (axes coords)."""
513 for c in self._cells.values():
514 x, y = c.get_x(), c.get_y()
515 c.set_x(x + ox)
516 c.set_y(y + oy)
517
518 def _update_positions(self, renderer):
519 # called from renderer to allow more precise estimates of

Callers 1

_update_positionsMethod · 0.95

Calls 5

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

Tested by

no test coverage detected