From 2027a331acaa894d480afa3240b79ebaef316234 Mon Sep 17 00:00:00 2001 From: Ian Thomas Date: Tue, 15 Sep 2015 07:54:41 +0100 Subject: [PATCH] Typos in api_changes and whats_new --- doc/api/api_changes.rst | 4 ++-- doc/users/whats_new.rst | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/api/api_changes.rst b/doc/api/api_changes.rst index 2b6f94c890aa..ebdaea9e4ef2 100644 --- a/doc/api/api_changes.rst +++ b/doc/api/api_changes.rst @@ -155,7 +155,7 @@ regardless of that parameter. Now the object can and does clip the child `Artist You can turn off the clipping on a per-child basis using `child.set_clip_on(False)`. -Add salt to cilpPath id +Add salt to clipPath id ``````````````````````` Add salt to the hash used to determine the id of the ``clipPath`` @@ -292,7 +292,7 @@ Removed `Lena` images from sample_data `````````````````````````````````````` The ``lena.png`` and ``lena.jpg`` images have been removed from -matplotlibs sample_data directory. The images are also no longer +matplotlib's sample_data directory. The images are also no longer available from `matplotlib.cbook.get_sample_data`. We suggest using `matplotlib.cbook.get_sample_data('grace_hopper.png')` or `matplotlib.cbook.get_sample_data('grace_hopper.jpg')` instead. diff --git a/doc/users/whats_new.rst b/doc/users/whats_new.rst index f8f15899c8dd..2ad899601775 100644 --- a/doc/users/whats_new.rst +++ b/doc/users/whats_new.rst @@ -112,7 +112,7 @@ Added ``axes.prop_cycle`` key to rcParams This is a more generic form of the now-deprecated ``axes.color_cycle`` param. Now, we can cycle more than just colors, but also linestyles, hatches, and just about any other artist property. Cycler notation is used for -defining proprty cycles. Adding cyclers together will be like you are +defining property cycles. Adding cyclers together will be like you are `zip()`-ing together two or more property cycles together:: 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 Example:: - f = plt.figure(dpi=25) # dpi set to 25 + f = plt.figure(dpi=25) # dpi set to 25 S = plt.scatter([1,2,3],[4,5,6]) - f.savefig('output.png', dpi='figure') # output savefig dpi set to 25 (same as figure) + f.savefig('output.png', dpi='figure') # output savefig dpi set to 25 (same as figure) Updated Table and to control edge visibility