Normalize, rescale, and colormap this image's data for rendering using *renderer*, with the given *magnification*. If *unsampled* is True, the image will not be scaled, but an appropriate affine transformation will be returned instead. Returns -----
(self, renderer, magnification=1.0, unsampled=False)
| 579 | t) |
| 580 | |
| 581 | def make_image(self, renderer, magnification=1.0, unsampled=False): |
| 582 | """ |
| 583 | Normalize, rescale, and colormap this image's data for rendering using |
| 584 | *renderer*, with the given *magnification*. |
| 585 | |
| 586 | If *unsampled* is True, the image will not be scaled, but an |
| 587 | appropriate affine transformation will be returned instead. |
| 588 | |
| 589 | Returns |
| 590 | ------- |
| 591 | image : (M, N, 4) `numpy.uint8` array |
| 592 | The RGBA image, resampled unless *unsampled* is True. |
| 593 | x, y : float |
| 594 | The upper left corner where the image should be drawn, in pixel |
| 595 | space. |
| 596 | trans : `~matplotlib.transforms.Affine2D` |
| 597 | The affine transformation from image to pixel space. |
| 598 | """ |
| 599 | raise NotImplementedError('The make_image method must be overridden') |
| 600 | |
| 601 | def _check_unsampled_image(self): |
| 602 | """ |