Return whether *x* is in the closed (:attr:`x0`, :attr:`x1`) interval.
(self, x)
| 401 | return (width > 0 or height > 0) and width < np.inf and height < np.inf |
| 402 | |
| 403 | def containsx(self, x): |
| 404 | """ |
| 405 | Return whether *x* is in the closed (:attr:`x0`, :attr:`x1`) interval. |
| 406 | """ |
| 407 | x0, x1 = self.intervalx |
| 408 | return x0 <= x <= x1 or x0 >= x >= x1 |
| 409 | |
| 410 | def containsy(self, y): |
| 411 | """ |