Set the offset of the container. Parameters ---------- xy : (float, float) The (x,y) coordinates of the offset in display units.
(self, xy)
| 782 | pass |
| 783 | |
| 784 | def set_offset(self, xy): |
| 785 | """ |
| 786 | Set the offset of the container. |
| 787 | |
| 788 | Parameters |
| 789 | ---------- |
| 790 | xy : (float, float) |
| 791 | The (x,y) coordinates of the offset in display units. |
| 792 | """ |
| 793 | self._offset = xy |
| 794 | |
| 795 | self.offset_transform.clear() |
| 796 | self.offset_transform.translate(xy[0], xy[1]) |
| 797 | self.stale = True |
| 798 | |
| 799 | def get_offset(self): |
| 800 | """ |
no test coverage detected