Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -5519,6 +5519,9 @@ def imshow(self, X, cmap=None, norm=None, aspect=None,
Note that the vertical axes points upward for 'lower'
but downward for 'upper'.

See the :doc:`/tutorials/intermediate/imshow_extent` tutorial for
examples and a more detailed description.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
examples and a more detailed description.
a more detailed description.

I would keep this exactly the same as in the sentence in the extentparameter description. Twice using example is kind of redundant. 😄

https://21987-1385122-gh.circle-artifacts.com/0/home/circleci/project/doc/build/html/api/_as_gen/matplotlib.axes.Axes.imshow.html#matplotlib.axes.Axes.imshow

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll keep them consistent but I think the current spelling is actually a little confusing.


extent : scalars (left, right, bottom, top), optional
The bounding box in data coordinates that the image will fill.
The image is stretched individually along x and y to fill the box.
Expand All @@ -5536,8 +5539,8 @@ def imshow(self, X, cmap=None, norm=None, aspect=None,
- For ``origin == 'lower'`` the default is
``(-0.5, numcols-0.5, -0.5, numrows-0.5)``.

See the example :doc:`/tutorials/intermediate/imshow_extent` for a
more detailed description.
See the :doc:`/tutorials/intermediate/imshow_extent` tutorial for
examples and a more detailed description.

filternorm : bool, optional, default: True
A parameter for the antigrain image resize filter (see the
Expand Down