From f59884cf8456c9019d20b1b46d4adea68acda095 Mon Sep 17 00:00:00 2001 From: Xianxiang Li Date: Mon, 19 Apr 2021 11:30:29 +0800 Subject: [PATCH] FIX typos in imshow_extent.py --- tutorials/intermediate/imshow_extent.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tutorials/intermediate/imshow_extent.py b/tutorials/intermediate/imshow_extent.py index 2ba71b8791ec..e1e87eb253f8 100644 --- a/tutorials/intermediate/imshow_extent.py +++ b/tutorials/intermediate/imshow_extent.py @@ -4,7 +4,7 @@ :meth:`~.Axes.imshow` allows you to render an image (either a 2D array which will be color-mapped (based on *norm* and *cmap*) or a 3D RGB(A) -array which will be used as-is) to a rectangular region in dataspace. +array which will be used as-is) to a rectangular region in data space. The orientation of the image in the final rendering is controlled by the *origin* and *extent* kwargs (and attributes on the resulting `~.AxesImage` instance) and the data limits of the axes. @@ -176,7 +176,7 @@ def generate_imshow_demo_grid(extents, xlim=None, ylim=None): # vertical, the second index runs along the horizontal. # The pixel centers are at integer positions ranging from 0 to ``N' = N - 1`` # horizontally and from 0 to ``M' = M - 1`` vertically. -# *origin* determines how to the data is filled in the bounding box. +# *origin* determines how the data is filled in the bounding box. # # For ``origin='lower'``: # @@ -244,7 +244,7 @@ def generate_imshow_demo_grid(extents, xlim=None, ylim=None): # # While we keep the extents as in the examples before, the coordinate (0, 0) # is now explicitly put at the bottom left and values increase to up and to -# the right (from the viewer point of view). +# the right (from the viewer's point of view). # We can see that: # # - The coordinate ``(left, bottom)`` anchors the image which then fills the