10000 Merge pull request #5069 from ianthomas23/doc_typos · matplotlib/matplotlib@4a7deb9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4a7deb9

Browse files
committed
Merge pull request #5069 from ianthomas23/doc_typos
Typos in api_changes and whats_new
2 parents 0e1263b + 2027a33 commit 4a7deb9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/api/api_changes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ regardless of that parameter. Now the object can and does clip the child `Artist
155155

156156
You can turn off the clipping on a per-child basis using `child.set_clip_on(False)`.
157157

158-
Add salt to cilpPath id
158+
Add salt to clipPath id
159159
```````````````````````
160160

161161
Add salt to the hash used to determine the id of the ``clipPath``
@@ -292,7 +292,7 @@ Removed `Lena` images from sample_data
292292
``````````````````````````````````````
293293

294294
The ``lena.png`` and ``lena.jpg`` images have been removed from
295-
matplotlibs sample_data directory. The images are also no longer
295+
matplotlib's sample_data directory. The images are also no longer
296296
available from `matplotlib.cbook.get_sample_data`. We suggest using
297297
`matplotlib.cbook.get_sample_data('grace_hopper.png')` or
298298
`matplotlib.cbook.get_sample_data('grace_hopper.jpg')` instead.

doc/users/whats_new.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Added ``axes.prop_cycle`` key to rcParams
112112
This is a more generic form of the now-deprecated ``axes.color_cycle`` param.
113113
Now, we can cycle more than just colors, but also linestyles, hatches,
114114
and just about any other artist property. Cycler notation is used for
115-
defining proprty cycles. Adding cyclers together will be like you are
115+
defining property cycles. Adding cyclers together will be like you are
116116
`zip()`-ing together two or more property cycles together::
117117

118118
axes.prop_cycle: cycler('color', 'rgb') + cycler('lw', [1, 2, 3])
@@ -303,9 +303,9 @@ Added support to save the figure with the same dpi as the figure on the screen u
303303

304304
Example::
305305

306-
f = plt.figure(dpi=25) # dpi set to 25
306+
f = plt.figure(dpi=25) # dpi set to 25
307307
S = plt.scatter([1,2,3],[4,5,6])
308-
f.savefig('output.png', dpi='figure') # output savefig dpi set to 25 (same as figure)
308+
f.savefig('output.png', dpi='figure') # output savefig dpi set to 25 (same as figure)
309309

310310

311311
Updated Table and to control edge visibility

0 commit comments

Comments
 (0)
0