diff --git a/lib/matplotlib/backend_bases.py b/lib/matplotlib/backend_bases.py index 1e696cb4adf1..7475adc66bdf 100644 --- a/lib/matplotlib/backend_bases.py +++ b/lib/matplotlib/backend_bases.py @@ -531,13 +531,14 @@ def draw_image(self, gc, x, y, im, trans=None): is the distance from bottom *im* - the :class:`matplotlib._image.Image` instance + An NxMx4 array of RGBA pixels (of dtype uint8). *trans* - If `option_scale_image` returns `True`, an affine - transformation may also be passed to `draw_image`. It - should be applied to the image, before applying the - translation of `x` and `y`. + If the concrete backend is written such that + `option_scale_image` returns `True`, an affine + transformation may also be passed to `draw_image`. The + backend should apply the transformation to the image + before applying the translation of `x` and `y`. """ raise NotImplementedError