|
14 | 14 | (multiple) images with matplotlib. In matplotlib, the axes location
|
15 | 15 | (and size) is specified in the normalized figure coordinates, which
|
16 | 16 | 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 |
18 | 18 | height always matches that of the image. `ImageGrid`_, `RGB Axes`_ and
|
19 | 19 | `AxesDivider`_ are helper classes that deals with adjusting the
|
20 | 20 | location of (multiple) Axes. They provides a framework to adjust the
|
|
276 | 276 | Example 2. twin
|
277 | 277 | ~~~~~~~~~~~~~~~
|
278 | 278 |
|
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 |
280 | 280 | same data transform as the host. This can be useful when you want the
|
281 | 281 | top(or right)-axis to have different tick-locations, tick-labels, or
|
282 | 282 | tick-formatter for bottom(or left)-axis. ::
|
|
408 | 408 | ===========
|
409 | 409 |
|
410 | 410 | 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. |
412 | 412 |
|
413 | 413 | * :mod:`~mpl_toolkits.axes_grid1.axes_size` provides a class of
|
414 | 414 | units that are used to determine the size of each axes. For example,
|
415 | 415 | you can specify a fixed size.
|
416 | 416 |
|
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 |
418 | 418 | that calculates the axes position. It divides the given
|
419 | 419 | rectangular area into several areas. The divider is initialized by
|
420 | 420 | setting the lists of horizontal and vertical sizes on which the division
|
|
476 | 476 | locator = divider.new_locator(nx=0, ny=1)
|
477 | 477 | ax.set_axes_locator(locator)
|
478 | 478 |
|
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 |
480 | 480 | AxesLocator class. It is a callable object that returns the
|
481 | 481 | location and size of the cell at the first column and the second row.
|
482 | 482 | You may create a locator that spans over multiple cells.::
|
|
<
32D2
/tbody>
0 commit comments