@@ -22,7 +22,7 @@ Find all objects in a figure of a certain type
2222Every matplotlib artist (see :ref: `artist-tutorial `) has a method
2323called :meth: `~matplotlib.artist.Artist.findobj ` that can be used to
2424recursively search the artist for any artists it may contain that meet
25- some criteria (eg match all :class: `~matplotlib.lines.Line2D `
25+ some criteria (e.g., match all :class: `~matplotlib.lines.Line2D `
2626instances or match some arbitrary filter function). For example, the
2727following snippet finds every object in the figure which has a
2828`set_color ` property and makes the object blue::
@@ -63,7 +63,7 @@ The :meth:`~matplotlib.pyplot.savefig` command has a keyword argument
6363backgrounds transparent when saving, but will not affect the displayed
6464image on the screen.
6565
66- If you need finer grained control, eg you do not want full transparency
66+ If you need finer grained control, e.g., you do not want full transparency
6767or you want to affect the screen displayed version as well, you can set
6868the alpha properties directly. The figure has a
6969:class: `~matplotlib.patches.Rectangle ` instance called *patch *
@@ -194,7 +194,7 @@ this chicken and egg problem is to wait until the figure is draw by
194194connecting
195195(:meth: `~matplotlib.backend_bases.FigureCanvasBase.mpl_connect `) to the
196196"on_draw" signal (:class: `~matplotlib.backend_bases.DrawEvent `) and
197- get the window extent there, and then do something with it, eg move
197+ get the window extent there, and then do something with it, e.g., move
198198the left of the canvas over; see :ref: `event-handling-tutorial `.
199199
200200Here is an example that gets a bounding box in relative figure coordinates
@@ -252,10 +252,10 @@ setting in the right subplots.
252252Skip dates where there is no data
253253---------------------------------
254254
255- When plotting time series, eg financial time series, one often wants
256- to leave out days on which there is no data, eg weekends. By passing
255+ When plotting time series, e.g., financial time series, one often wants
256+ to leave out days on which there is no data, e.g., weekends. By passing
257257in dates on the x-xaxis, you get large horizontal gaps on periods when
258- there is not data. The solution is to pass in some proxy x-data, eg
258+ there is not data. The solution is to pass in some proxy x-data, e.g.,
259259evenly sampled indices, and then use a custom formatter to format
260260these as dates. The example below shows how to use an 'index formatter'
261261to achieve the desired plot::
@@ -559,7 +559,7 @@ at the end of the page in the sidebar (or `here
559559The sphinx website is a good resource for learning sphinx, but we have
560560put together a cheat-sheet at :ref: `documenting-matplotlib ` which
561561shows you how to get started, and outlines the matplotlib conventions
562- and extensions, eg for including plots directly from external code in
562+ and extensions, e.g., for including plots directly from external code in
563563your documents.
564564
565565Once your documentation contributions are working (and hopefully
0 commit comments