8000 DOC: Note about pixel placement in imshow · matplotlib/matplotlib@604a02e · GitHub
[go: up one dir, main page]

Skip to content

Commit 604a02e

Browse files
committed
DOC: Note about pixel placement in imshow
1 parent 6e3471d commit 604a02e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4682,6 +4682,12 @@ def imshow(self, X, cmap=None, norm=None, aspect=None,
46824682
See also
46834683
--------
46844684
matshow : Plot a matrix or an array as an image.
4685+
4686+
Notes
4687+
-----
4688+
Unless *extent* is used, pixel centers will be located at integer
4689+
coordinates. In other words: the origin will coincide with the center
4690+
of pixel (0, 0).
46854691
46864692
Examples
46874693
--------

0 commit comments

Comments
 (0)
0