8000 Update axes_grid.py · matplotlib/matplotlib@28b914c · GitHub
[go: up one dir, main page]

Skip to content

Commit 28b914c

Browse files
authored
Update axes_grid.py
1 parent 8dda44b commit 28b914c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tutorials/toolkits/axes_grid.py

Lines changed: 5 additions & 5 deletions
< 32D2 /tbody>
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
(multiple) images with matplotlib. In matplotlib, the axes location
1515
(and size) is specified in the normalized figure coordinates, which
1616
may not be ideal for displaying images that needs to have a given
17-
aspect ratio. For example, it helps you to have a colorbar whose
17+
aspect ratio. For example, it helps if you have a colorbar whose
1818
height always matches that of the image. `ImageGrid`_, `RGB Axes`_ and
1919
`AxesDivider`_ are helper classes that deals with adjusting the
2020
location of (multiple) Axes. They provides a framework to adjust the
@@ -276,7 +276,7 @@
276276
Example 2. twin
277277
~~~~~~~~~~~~~~~
278278
279-
*twin* without a transform argument treat the parasite axes to have a
279+
*twin* without a transform argument assumes that the parasite axes has the
280280
same data transform as the host. This can be useful when you want the
281281
top(or right)-axis to have different tick-locations, tick-labels, or
282282
tick-formatter for bottom(or left)-axis. ::
@@ -408,13 +408,13 @@
408408
===========
409409
410410
The axes_divider module provides helper classes to adjust the axes
411-
positions of set of images in the drawing time.
411+
positions of a set of images at drawing time.
412412
413413
* :mod:`~mpl_toolkits.axes_grid1.axes_size` provides a class of
414414
units that are used to determine the size of each axes. For example,
415415
you can specify a fixed size.
416416
417-
* :class:`~mpl_toolkits.axes_grid1.axes_size.Divider` this is the class
417+
* :class:`~mpl_toolkits.axes_grid1.axes_size.Divider` is the class
418418
that calculates the axes position. It divides the given
419419
rectangular area into several areas. The divider is initialized by
420420
setting the lists of horizontal and vertical sizes on which the division
@@ -476,7 +476,7 @@
476476
locator = divider.new_locator(nx=0, ny=1)
477477
ax.set_axes_locator(locator)
478478
479-
The return value of the new_locator method is a instance of the
479+
The return value of the new_locator method is an instance of the
480480
AxesLocator class. It is a callable object that returns the
481481
location and size of the cell at the first column and the second row.
482482
You may create a locator that spans over multiple cells.::

0 commit comments

Comments
 (0)
0