@@ -17,19 +17,19 @@ mainly to ease displaying (multiple) images in matplotlib.
17
17
0.99. Originally, the toolkit had a single namespace of
18
18
*axes_grid *. In more recent version (since svn r8226), the toolkit
19
19
has divided into two separate namespace (*axes_grid1 * and *axisartist *).
20
- While *axes_grid * namespace is maintained for he backward compatibility,
20
+ While *axes_grid * namespace is maintained for the backward compatibility,
21
21
use of *axes_grid1 * and *axisartist * is recommended.
22
22
23
23
.. warning ::
24
24
*axes_grid * and *axisartist * (but not *axes_grid1 *) uses
25
- a custome Axes class (derived from the mpl's original Axes class).
26
- As a sideeffect , some commands (mostly tick-related) do not work.
25
+ a custom Axes class (derived from the mpl's original Axes class).
26
+ As a side effect , some commands (mostly tick-related) do not work.
27
27
Use *axes_grid1 * to avoid this, or see how things are different in
28
28
*axes_grid * and *axisartist * (LINK needed)
29
29
30
30
31
31
AxesGrid toolkit has two namespaces (*axes_grid1 * and *axisartist *).
32
- *axisartist * contains custome Axes class that is meant to support for
32
+ *axisartist * contains custom Axes class that is meant to support for
33
33
curvilinear grids (e.g., the world coordinate system in astronomy).
34
34
Unlike mpl's original Axes class which uses Axes.xaxis and Axes.yaxis
35
35
to draw ticks, ticklines and etc., Axes in axisartist uses special
@@ -46,7 +46,7 @@ Axes.xaxis and Axes.yaxis may not work. See LINK for more detail.
46
46
(multiple) images with matplotlib. In matplotlib, the axes location
47
47
(and size) is specified in the normalized figure coordinates, which
48
48
may not be ideal for displaying images that needs to have a given
49
- aspect ratio. For example, it helps you to have a colobar whose
49
+ aspect ratio. For example, it helps you to have a colorbar whose
50
50
height always matches that of the image. `ImageGrid `_, `RGB Axes `_ and
51
51
`AxesDivider `_ are helper classes that deals with adjusting the
52
52
location of (multiple) Axes. They provides a framework to adjust the
@@ -76,9 +76,9 @@ used in such case.
76
76
.. plot :: mpl_toolkits/axes_grid/examples/simple_axesgrid.py
77
77
:include-source:
78
78
79
- * The postion of each axes is determined at the drawing time (see
79
+ * The position of each axes is determined at the drawing time (see
80
80
`AxesDivider `_), so that the size of the entire grid fits in the
81
- given rectangle (like the aspec of axes). Note that in this example,
81
+ given rectangle (like the aspect of axes). Note that in this example,
82
82
the paddings between axes are fixed even if you changes the figure
83
83
size.
84
84
@@ -141,7 +141,7 @@ AxesGrid takes following arguments,
141
141
means the increasing direction of the axes number.
142
142
143
143
*aspect *
144
- By default (False), widths and heigths of axes in the grid are
144
+ By default (False), widths and heights of axes in the grid are
145
145
scaled independently. If True, they are scaled according to their
146
146
data limits (similar to aspect parameter in mpl).
147
147
@@ -165,7 +165,7 @@ AxesGrid takes following arguments,
165
165
| grid[1] | grid[3] |
166
166
+---------+---------+
167
167
168
- You can also create a colorbar (or colobars ). You can have colorbar
168
+ You can also create a colorbar (or colorbars ). You can have colorbar
169
169
for each axes (cbar_mode="each"), or you can have a single colorbar
170
170
for the grid (cbar_mode="single"). The colorbar can be placed on your
171
171
right, or top. The axes for each colorbar is stored as a *cbar_axes *
@@ -187,7 +187,7 @@ at drawing time. While a more about the AxesDivider is (will be)
187
187
explained in (yet to be written) AxesDividerGuide, direct use of the
188
188
AxesDivider class will not be necessary for most users. The
189
189
axes_divider module provides a helper function make_axes_locatable,
190
- which can be useful. It takes a exisitng axes instance and create a
190
+ which can be useful. It takes a existing axes instance and create a
191
191
divider for it. ::
192
192
193
193
ax = subplot(1,1,1)
@@ -196,7 +196,7 @@ divider for it. ::
196
196
197
197
198
198
199
- *make_axes_locatable * returns an isntance of the AxesLocator class,
199
+ *make_axes_locatable * returns an instance of the AxesLocator class,
200
200
derived from the Locator. It provides *append_axes * method that
201
201
creates a new axes on the given side of ("top", "right", "bottom" and
202
202
"left") of the original axes.
@@ -255,7 +255,7 @@ if the host change its location (e.g., images).
255
255
In most cases, you first create a host axes, which provides a few
256
256
method that can be used to create parasite axes. They are *twinx *,
257
257
*twiny * (which are similar to twinx and twiny in the matplotlib) and
258
- *twin *. *twin * takes an arbitraty tranfromation that maps between the
258
+ *twin *. *twin * takes an arbitrary transformation that maps between the
259
259
data coordinates of the host axes and the parasite axes. *draw *
260
260
method of the parasite axes are never called. Instead, host axes
261
261
collects artists in parasite axes and draw them as if they belong to
@@ -292,7 +292,7 @@ tick-formatter for bottom(or left)-axis. ::
292
292
293
293
294
294
295
- A more sophiscated example using twin. Note that if you change the
295
+ A more sophisticated example using twin. Note that if you change the
296
296
x-limit in the host axes, the x-limit of the parasite axes will change
297
297
accordingly.
298
298
@@ -319,7 +319,7 @@ InsetLocator
319
319
320
320
:mod: `mpl_toolkits.axes_grid.inset_locator ` provides helper classes
321
321
and functions to place your (inset) axes at the anchored position of
322
- the parent axes, similarly to AnchoredArtis .
322
+ the parent axes, similarly to AnchoredArtist .
323
323
324
324
Using :func: `mpl_toolkits.axes_grid.inset_locator.inset_axes `, you
325
325
can have inset axes whose size is either fixed, or a fixed proportion
@@ -359,7 +359,7 @@ represented by the inset axes.
359
359
RGB Axes
360
360
~~~~~~~~
361
361
362
- RGBAxes is a helper clase to conveniently show RGB composite
362
+ RGBAxes is a helper class to conveniently show RGB composite
363
363
images. Like ImageGrid, the location of axes are adjusted so that the
364
364
area occupied by them fits in a given rectangle. Also, the xaxis and
365
365
yaxis of each axes are shared. ::
@@ -386,7 +386,7 @@ AxisArtist
386
386
387
387
AxisArtist module provides a custom (and very experimental) Axes
388
388
class, where each axis (left, right, top and bottom) have a separate
389
- artist associated which is resposible to draw axis-line, ticks,
389
+ artist associated which is responsible to draw axis-line, ticks,
390
390
ticklabels, label. Also, you can create your own axis, which can pass
391
391
through a fixed position in the axes coordinate, or a fixed position
392
392
in the data coordinate (i.e., the axis floats around when viewlimit
@@ -407,7 +407,7 @@ To create an axes, ::
407
407
ax = AA.Axes(fig, [0.1, 0.1, 0.8, 0.8])
408
408
fig.add_axes(ax)
409
409
410
- or to creat a subplot ::
410
+ or to create a subplot ::
411
411
412
412
ax = AA.Subplot(fig, 111)
413
413
fig.add_subplot(ax)
@@ -441,7 +441,7 @@ Or a fixed axis with some offset ::
441
441
AxisArtist with ParasiteAxes
442
442
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
443
443
444
- Most commands in the axes_grid toolkit1 can take a axes_class keyword
444
+ Most commands in the axes_grid1 toolkit can take a axes_class keyword
445
445
argument, and the commands creates an axes of the given class. For example,
446
446
to create a host subplot with axisartist.Axes, ::
447
447
@@ -458,10 +458,10 @@ Here is an example that uses parasiteAxes.
458
458
459
459
460
460
461
- Curvelinear Grid
461
+ Curvilinear Grid
462
462
----------------
463
463
464
- The motivation behind the AxisArtist module is to support cuvelinear grid
464
+ The motivation behind the AxisArtist module is to support curvilinear grid
465
465
and ticks.
466
466
467
467
.. plot :: mpl_toolkits/axes_grid/examples/demo_floating_axis.py
@@ -472,7 +472,7 @@ See :ref:`axisartist-manual` for more details.
472
472
Floating Axes
473
473
-------------
474
474
475
- This also suppport a Floating Axes whose outer axis are defined as
475
+ This also support a Floating Axes whose outer axis are defined as
476
476
floating axis.
477
477
478
478
.. plot :: mpl_toolkits/axes_grid/examples/demo_floating_axes.py
0 commit comments