Skip to content

Commit 274af80

Browse files
committed
eg, to e.g.,
Used: ```bash find * -type f -exec sed -i 's/\beg,/e.g.,/g' {} \; ```
1 parent 9450b22 commit 274af80

File tree

17 files changed

+25
-25
lines changed

17 files changed

+25
-25
lines changed

doc/api/api_changes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1810,7 +1810,7 @@ Changes for 0.65.1
18101810
removed add_axes and add_subplot from backend_bases. Use
18111811
figure.add_axes and add_subplot instead. The figure now manages the
18121812
current axes with gca and sca for get and set current axes. If you
1813-
have code you are porting which called, eg, figmanager.add_axes, you
1813+
have code you are porting which called, e.g., figmanager.add_axes, you
18141814
can now simply do figmanager.canvas.figure.add_axes.
18151815

18161816
Changes for 0.65

doc/devel/documenting_mpl.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ Referring to mpl documents
362362
In the documentation, you may want to include to a document in the
363363
matplotlib src, e.g., a license file or an image file from `mpl-data`,
364364
refer to it via a relative path from the document where the rst file
365-
resides, eg, in :file:`users/navigation_toolbar.rst`, we refer to the
365+
resides, e.g., in :file:`users/navigation_toolbar.rst`, we refer to the
366366
image icons with::
367367

368368
.. image:: ../../lib/matplotlib/mpl-data/images/subplots.png

doc/faq/troubleshooting_faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ If you compiled matplotlib yourself, please also provide
125125
platform that are useful for the matplotlib developers to diagnose
126126
your problem.
127127

128-
* your compiler version -- eg, ``gcc --version``
128+
* your compiler version -- e.g., ``gcc --version``
129129

130130
Including this information in your first e-mail to the mailing list
131131
will save a lot of time.

doc/users/mathtext.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ The default font is *italics* for mathematical symbols.
161161
This is useful, for example, to use the same font as regular
162162
non-math text for math text, by setting it to ``regular``.
163163

164-
To change fonts, eg, to write "sin" in a Roman font, enclose the text
164+
To change fonts, e.g., to write "sin" in a Roman font, enclose the text
165165
in a font command::
166166

167167
r'$s(t) = \mathcal{A}\mathrm{sin}(2 \omega t)$'

doc/users/pyplot_tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Pyplot tutorial
77
:mod:`matplotlib.pyplot` is a collection of command style functions
88
that make matplotlib work like MATLAB.
99
Each ``pyplot`` function makes
10-
some change to a figure: eg, create a figure, create a plotting area
10+
some change to a figure: e.g., create a figure, create a plotting area
1111
in a figure, plot some lines in a plotting area, decorate the plot
1212
with labels, etc.... :mod:`matplotlib.pyplot` is stateful, in that it
1313
keeps track of the current figure and plotting area, and the plotting

doc/users/shell.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ to update the plot every time a single property is changed, only once
1010
after all the properties have changed.
1111

1212
But when working from the python shell, you usually do want to update
13-
the plot with every command, eg, after changing the
13+
the plot with every command, e.g., after changing the
1414
:func:`~matplotlib.pyplot.xlabel`, or the marker style of a line.
1515
While this is simple in concept, in practice it can be tricky, because
1616
matplotlib is a graphical user interface application under the hood,

doc/users/text_props.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ horizontalalignment or ha [ ``'center'`` | ``'right'`` | ``'left'`` ]
2424
label any string
2525
linespacing float
2626
multialignment [``'left'`` | ``'right'`` | ``'center'`` ]
27-
name or fontname string eg, [``'Sans'`` | ``'Courier'`` | ``'Helvetica'`` ...]
27+
name or fontname string e.g., [``'Sans'`` | ``'Courier'`` | ``'Helvetica'`` ...]
2828
picker [None|float|boolean|callable]
2929
position (x,y)
3030
rotation [ angle in degrees ``'vertical'`` | ``'horizontal'``

examples/misc/rc_traits.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
}
3434

3535
def hex2color(s):
36-
"Convert hex string (like html uses, eg, #efefef) to a r,g,b tuple"
36+
"Convert hex string (like html uses, e.g., #efefef) to a r,g,b tuple"
3737
return tuple([int(n, 16)/255.0 for n in (s[1:3], s[3:5], s[5:7])])
3838

3939
class RGBA(traits.HasTraits):

lib/matplotlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1334,7 +1334,7 @@ def interactive(b):
13341334
"""
13351335
Set interactive mode to boolean b.
13361336
1337-
If b is True, then draw after every plotting command, eg, after xlabel
1337+
If b is True, then draw after every plotting command, e.g., after xlabel
13381338
"""
13391339
rcParams['interactive'] = b
13401340

lib/matplotlib/axes/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1899,7 +1899,7 @@ def autoscale(self, enable=True, axis='both', tight=None):
18991899
def autoscale_view(self, tight=None, scalex=True, scaley=True):
19001900
"""
19011901
Autoscale the view limits using the data limits. You can
1902-
selectively autoscale only a single axis, eg, the xaxis by
1902+
selectively autoscale only a single axis, e.g., the xaxis by
19031903
setting *scaley* to *False*. The autoscaling preserves any
19041904
axis direction reversal that has already been done.
19051905

0 commit comments

Comments
 (0)