44Annotating Axes
55****************
66
7- Do not proceed unless you already have read
7+ Do not proceed unless you already have read
88:func: `~matplotlib.pyplot.text ` and :func: `~matplotlib.pyplot.annotate `!
99
1010
@@ -38,7 +38,7 @@ method. ::
3838 bb.set_boxstyle("rarrow", pad=0.6)
3939
4040The arguments are the name of the box style with its attributes as
41- keyword arguments. Currently, followign box styles are implemented.
41+ keyword arguments. Currently, following box styles are implemented.
4242
4343 ========== ============== ==========================
4444 Class Name Attrs
@@ -55,7 +55,7 @@ keyword arguments. Currently, followign box styles are implemented.
5555.. plot :: mpl_examples/pylab_examples/fancybox_demo2.py
5656
5757
58- Note that the attrubutes arguments can be specified within the style
58+ Note that the attributes arguments can be specified within the style
5959name with separating comma (this form can be used as "boxstyle" value
6060of bbox argument when initializing the text instance) ::
6161
@@ -103,7 +103,7 @@ The arrow drawing takes a few steps.
1031032. If patch object is given (*patchA * & *patchB *), the path is clipped to
104104 avoid the patch.
105105
106- 3. The path is further shrinked by given amount of pixels (*shirnkA *
106+ 3. The path is further shrunk by given amount of pixels (*shirnkA *
107107 & *shrinkB *)
108108
1091094. The path is transmuted to arrow patch, which is controlled by the
@@ -114,7 +114,7 @@ The arrow drawing takes a few steps.
114114
115115
116116The creation of the connecting path between two points is controlled by
117- ``connectionstyle `` key and follwing styles are available.
117+ ``connectionstyle `` key and following styles are available.
118118
119119 ========== =============================================
120120 Name Attrs
@@ -197,7 +197,7 @@ axes. ::
197197 ax2.add_artist(con)
198198
199199The above code connects point xy in data coordinate of ``ax1 `` to
200- point xy int data coordiante of ``ax2 ``. Here is a simple example.
200+ point xy int data coordinate of ``ax2 ``. Here is a simple example.
201201
202202.. plot :: users/plotting/examples/connect_simple01.py
203203
@@ -230,7 +230,7 @@ available in ``mpl_toolkits.axes_grid.anchored_artists``. ::
230230The *loc * keyword has same meaning as in the legend command.
231231
232232A simple application is when the size of the artist (or collection of
233- artists) is knwon in pixel size during the time of creation. For
233+ artists) is known in pixel size during the time of creation. For
234234example, If you want to draw a circle with fixed size of 20 pixel x 20
235235pixel (radius = 10 pixel), you can utilize
236236``AnchoredDrawingArea ``. The instance is created with a size of the
@@ -280,15 +280,15 @@ legend (as a matter of fact, this is how the legend is created).
280280.. plot :: users/plotting/examples/anchored_box04.py
281281
282282Note that unlike the legend, the ``bbox_transform `` is set
283- to IdentityTransform by default.
283+ to IdentityTransform by default.
284284
285285Advanced Topics
286286***************
287287
288288Zoom effect between Axes
289289========================
290290
291- mpl_toolkits.axes_grid.inset_locator defines some patch classs useful
291+ mpl_toolkits.axes_grid.inset_locator defines some patch classes useful
292292for interconnect two axes. Understanding the code requires some
293293knowledge of how mpl's transform works. But, utilizing it will be
294294straight forward.
@@ -327,6 +327,6 @@ matplotlib.patches.BoxStyle._Base as demonstrated below.
327327 :include-source:
328328
329329
330- Similarly, you can define custom ConnectionStyle and Custome ArrowStyle.
330+ Similarly, you can define custom ConnectionStyle and custom ArrowStyle.
331331See the source code of ``lib/matplotlib/patches.py `` and check
332332how each style class is defined.
0 commit comments