(self)
| 2313 | self._path = path_original |
| 2314 | |
| 2315 | def _update_path(self): |
| 2316 | # Compute new values and update and set new _path if any value changed |
| 2317 | stretched = self._theta_stretch() |
| 2318 | if any(a != b for a, b in zip( |
| 2319 | stretched, (self._theta1, self._theta2, self._stretched_width, |
| 2320 | self._stretched_height))): |
| 2321 | (self._theta1, self._theta2, self._stretched_width, |
| 2322 | self._stretched_height) = stretched |
| 2323 | self._path = Path.arc(self._theta1, self._theta2) |
| 2324 | |
| 2325 | def _theta_stretch(self): |
| 2326 | # If the width and height of ellipse are not equal, take into account |
no test coverage detected