Return the image extent as tuple (left, right, bottom, top).
(self)
| 1378 | self.magnification = 1.0 |
| 1379 | |
| 1380 | def get_extent(self): |
| 1381 | """Return the image extent as tuple (left, right, bottom, top).""" |
| 1382 | numrows, numcols = self.get_size() |
| 1383 | return (-0.5 + self.ox, numcols-0.5 + self.ox, |
| 1384 | -0.5 + self.oy, numrows-0.5 + self.oy) |
| 1385 | |
| 1386 | def make_image(self, renderer, magnification=1.0, unsampled=False): |
| 1387 | # docstring inherited |