mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-14 11:26:27 +03:00
Merge pull request #3370 from python-pillow/fix-docstring-typo
Fix docstring typo
This commit is contained in:
commit
da4440c1cb
|
@ -2446,7 +2446,7 @@ def fromarray(obj, mode=None):
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
import numpy as np
|
import numpy as np
|
||||||
im = Image.open('hopper.jpg')
|
im = Image.open('hopper.jpg')
|
||||||
a = numpy.asarray(im)
|
a = np.asarray(im)
|
||||||
|
|
||||||
Then this can be used to convert it to a Pillow image::
|
Then this can be used to convert it to a Pillow image::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user