|
4 | 4 |
|
5 | 5 | :meth:`~.Axes.imshow` allows you to render an image (either a 2D array
|
6 | 6 | which will be color-mapped (based on *norm* and *cmap*) or a 3D RGB(A)
|
7 |
| -array which will be used as-is) to a rectangular region in dataspace. |
| 7 | +array which will be used as-is) to a rectangular region in data space. |
8 | 8 | The orientation of the image in the final rendering is controlled by
|
9 | 9 | the *origin* and *extent* kwargs (and attributes on the resulting
|
10 | 10 | `~.AxesImage` instance) and the data limits of the axes.
|
@@ -176,7 +176,7 @@ def generate_imshow_demo_grid(extents, xlim=None, ylim=None):
|
176 | 176 | # vertical, the second index runs along the horizontal.
|
177 | 177 | # The pixel centers are at integer positions ranging from 0 to ``N' = N - 1``
|
178 | 178 | # horizontally and from 0 to ``M' = M - 1`` vertically.
|
179 |
| -# *origin* determines how to the data is filled in the bounding box. |
| 179 | +# *origin* determines how the data is filled in the bounding box. |
180 | 180 | #
|
181 | 181 | # For ``origin='lower'``:
|
182 | 182 | #
|
@@ -244,7 +244,7 @@ def generate_imshow_demo_grid(extents, xlim=None, ylim=None):
|
244 | 244 | #
|
245 | 245 | # While we keep the extents as in the examples before, the coordinate (0, 0)
|
246 | 246 | # is now explicitly put at the bottom left and values increase to up and to
|
247 |
| -# the right (from the viewer point of view). |
| 247 | +# the right (from the viewer's point of view). |
248 | 248 | # We can see that:
|
249 | 249 | #
|
250 | 250 | # - The coordinate ``(left, bottom)`` anchors the image which then fills the
|
|
0 commit comments