From c8606fc18c7bdba2e3c80d9bfb42cc41e83e7e2f Mon Sep 17 00:00:00 2001 From: Yuval Langer Date: Sun, 2 Nov 2014 15:27:08 +0200 Subject: [PATCH 1/2] `I.e.` to `i.e.` --- doc/devel/coding_guide.rst | 2 +- doc/devel/license.rst | 2 +- lib/matplotlib/mlab.py | 2 +- lib/matplotlib/text.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/devel/coding_guide.rst b/doc/devel/coding_guide.rst index cd12a126942a..358e0c803707 100644 --- a/doc/devel/coding_guide.rst +++ b/doc/devel/coding_guide.rst @@ -200,7 +200,7 @@ illustration) just passes them on to the self.update(kwargs) ``update`` does the work looking for methods named like -``set_property`` if ``property`` is a keyword argument. I.e., no one +``set_property`` if ``property`` is a keyword argument. i.e., no one looks at the keywords, they just get passed through the API to the artist constructor which looks for suitably named methods and calls them with the value. diff --git a/doc/devel/license.rst b/doc/devel/license.rst index 1354f7b82117..6afe33afc559 100644 --- a/doc/devel/license.rst +++ b/doc/devel/license.rst @@ -28,7 +28,7 @@ most widely used license is the GPL, which in addition to granting you full rights to the source code including redistribution, carries with it an extra obligation. If you use GPL code in your own code, or link with it, your product must be released under a GPL compatible -license. I.e., you are required to give the source code to other +license. i.e., you are required to give the source code to other people and give them the right to redistribute it as well. Many of the most famous and widely used open source projects are released under the GPL, including linux, gcc, emacs and sage. diff --git a/lib/matplotlib/mlab.py b/lib/matplotlib/mlab.py index c308bfb14191..546b1d162c54 100644 --- a/lib/matplotlib/mlab.py +++ b/lib/matplotlib/mlab.py @@ -1423,7 +1423,7 @@ def cohere_pairs( X, ij, NFFT=256, Fs=2, detrend=detrend_none, where: - *Cxy*: dictionary of (*i*, *j*) tuples -> coherence vector for - that pair. I.e., ``Cxy[(i,j) = cohere(X[:,i], X[:,j])``. + that pair. i.e., ``Cxy[(i,j) = cohere(X[:,i], X[:,j])``. Number of dictionary keys is ``len(ij)``. - *Phase*: dictionary of phases of the cross spectral density at diff --git a/lib/matplotlib/text.py b/lib/matplotlib/text.py index 25bd70e5988d..e9326d0b8033 100644 --- a/lib/matplotlib/text.py +++ b/lib/matplotlib/text.py @@ -1030,7 +1030,7 @@ class TextWithDash(Text): *dashrotation* specifies the rotation of the dash, and should generally stay *None*. In this case :meth:`~matplotlib.text.TextWithDash.get_dashrotation` returns - :meth:`~matplotlib.text.Text.get_rotation`. (I.e., the dash takes + :meth:`~matplotlib.text.Text.get_rotation`. (i.e., the dash takes its rotation from the text's rotation). Because the text center is projected onto the dash, major deviations in the rotation cause what may be considered visually unappealing results. From 36adc9dc38ff342a0cc076642f5efc681f8e9dd9 Mon Sep 17 00:00:00 2001 From: Yuval Langer Date: Sun, 2 Nov 2014 15:48:29 +0200 Subject: [PATCH 2/2] Lowering case of `i.e.` and `e.g.` and adding comma --- CHANGELOG | 2 +- doc/api/api_changes.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index abf009952571..e0203359891d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2730,7 +2730,7 @@ 2007-02-12 Moved data files into lib/matplotlib so that setuptools' develop mode works. Re-organized the mpl-data layout so that this source structure is maintained in the - installation. (I.e. the 'fonts' and 'images' + installation. (i.e., the 'fonts' and 'images' sub-directories are maintained in site-packages.) Suggest removing site-packages/matplotlib/mpl-data and ~/.matplotlib/ttffont.cache before installing - ADS diff --git a/doc/api/api_changes.rst b/doc/api/api_changes.rst index 5449ce61827a..be878d0a7dc7 100644 --- a/doc/api/api_changes.rst +++ b/doc/api/api_changes.rst @@ -1339,7 +1339,7 @@ Changes for 0.90.1 Moved data files into lib/matplotlib so that setuptools' develop mode works. Re-organized the mpl-data layout so that this source - structure is maintained in the installation. (I.e. the 'fonts' and + structure is maintained in the installation. (i.e., the 'fonts' and 'images' sub-directories are maintained in site-packages.). Suggest removing site-packages/matplotlib/mpl-data and ~/.matplotlib/ttffont.cache before installing