Set the position of the rectangle. Parameters ---------- pos : tuple of 4 floats position of the rectangle that will be divided
(self, pos)
| 63 | return np.array([s.get_size(renderer) for s in self.get_vertical()]) |
| 64 | |
| 65 | def set_position(self, pos): |
| 66 | """ |
| 67 | Set the position of the rectangle. |
| 68 | |
| 69 | Parameters |
| 70 | ---------- |
| 71 | pos : tuple of 4 floats |
| 72 | position of the rectangle that will be divided |
| 73 | """ |
| 74 | self._pos = pos |
| 75 | |
| 76 | def get_position(self): |
| 77 | """Return the position of the rectangle.""" |
no outgoing calls
no test coverage detected