8000 Capitalize Pillow · matplotlib/matplotlib@711c5b6 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 711c5b6

Browse files
committed
Capitalize Pillow
1 parent bf28ffd commit 711c5b6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

examples/pylab_examples/agg_buffer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
try:
1414
from PIL import Image
1515
except ImportError:
16-
raise SystemExit("pillow must be installed to run this example")
16+
raise SystemExit("Pillow must be installed to run this example")
1717

1818
plt.plot([1, 2, 3])
1919

lib/matplotlib/image.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1304,7 +1304,7 @@ def pilread(fname):
13041304
im = pilread(fname)
13051305
if im is None:
13061306
raise ValueError('Only know how to handle extensions: %s; '
1307-
'with pillow installed matplotlib can handle '
1307+
'with Pillow installed matplotlib can handle '
13081308
'more images' % list(six.iterkeys(handlers)))
13091309
return im
13101310

@@ -1427,8 +1427,8 @@ def thumbnail(infile, thumbfile, scale=0.1, interpolation='bilinear',
14271427
make a thumbnail of image in *infile* with output filename
14281428
*thumbfile*.
14291429
1430-
*infile* the image file -- must be PNG or pillow-readable if you
1431-
have `pillow <http://python-pillow.github.io/>`_ installed
1430+
*infile* the image file -- must be PNG or Pillow-readable if you
1431+
have `Pillow <http://python-pillow.github.io/>`_ installed
14321432
14331433
*thumbfile*
14341434
the thumbnail filename

lib/matplotlib/widgets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,10 @@ def __init__(self, ax, label, image=None,
171171
label : str
172172
The button text. Accepts string.
173173
174-
image : array, mpl image, pillow image
174+
image : array, mpl image, Pillow Image
175175
The image to place in the button, if not *None*.
176176
Can be any legal arg to imshow (numpy array,
177-
matplotlib Image instance, or pillow image).
177+
matplotlib Image instance, or Pillow Image).
178178
179179
color : color
180180
The color of the button when not activated

0 commit comments

Comments
 (0)
0