From 2ac762a2d4aaca8f590572d0636e446ee0fea0ae Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Thu, 6 Jun 2019 09:58:12 -0400 Subject: [PATCH] Mention origin and extent tutorial in API docs for origin kwarg Also reword existing note for extent keyword to harmonize and make clearer --- lib/matplotlib/axes/_axes.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index ceacd014ef7a..2236f9138726 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -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. + 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. @@ -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