Merge pull request #2824 from hasahmed/patch-2

Corrected PixelAccess.rst documentation
This commit is contained in:
wiredfool 2017-11-02 21:14:08 +00:00 committed by GitHub
commit 6932b5a4ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ Results in the following::
multi-band images multi-band images
:param xy: The pixel coordinate, given as (x, y). :param xy: The pixel coordinate, given as (x, y).
:param value: The pixel value. :param color: The pixel value according to its mode. e.g. tuple (r, g, b) for RGB mode)
.. method:: __getitem__(self, xy): .. method:: __getitem__(self, xy):
@ -61,7 +61,7 @@ Results in the following::
multi-band images multi-band images
:param xy: The pixel coordinate, given as (x, y). :param xy: The pixel coordinate, given as (x, y).
:param value: The pixel value. :param color: The pixel value according to its mode. e.g. tuple (r, g, b) for RGB mode)
.. method:: getpixel(self, xy): .. method:: getpixel(self, xy):